Add a checker for executables without shebangs

This commit is contained in:
Chris Kuehl 2017-07-02 21:00:28 -07:00
parent 4a457a725e
commit 13991f09d2
6 changed files with 93 additions and 0 deletions

View file

@ -34,6 +34,8 @@ Add this to your `.pre-commit-config.yaml`
case-insensitive filesystem like MacOS HFS+ or Windows FAT.
- `check-docstring-first` - Checks for a common error of placing code before
the docstring.
- `check-executables-have-shebangs` - Checks that non-binary executables have a
proper shebang.
- `check-json` - Attempts to load all json files to verify syntax.
- `check-merge-conflict` - Check for files that contain merge conflict strings.
- `check-symlinks` - Checks for symlinks which do not point to anything.