jumanjihouse / pre-commit-hooks

git pre-commit hooks that work with http://pre-commit.com/
MIT License
113 stars 52 forks source link

make require-ascii hook informative on failure #52

Closed jumanjiman closed 4 years ago

jumanjiman commented 4 years ago

If a file has non-ascii characters, inform the user about the offending character. For example:

ci/ansi: line 5 column 3 character "©" (decimal 169)