pre-commit-hooks
pre-commit-hooks copied to clipboard
add ignore-files argument to remove-crlf?
Generally I want to replace/remove CRLF in my repos. However, there are times where I require CRLF endings in files. It would be very beneficial to have an --ignore-files argument that would take file names or globs and ignore them.
Alright, sur, this could be added. Do you want to submit a PR ?
Sorry for the lack of response 😢
Actually, pre-commit already provides a builtin feature to do this: exclude
cf. https://pre-commit.com/#config-exclude