Merge pull request #211 from pre-commit/check-executables-have-shebangs

Add a checker for executables without shebangs
This commit is contained in:
Anthony Sottile 2017-07-02 21:26:06 -07:00 committed by GitHub
commit 16879bcf16
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.