mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 03:26:53 +00:00
Add a checker for executables without shebangs
This commit is contained in:
parent
4a457a725e
commit
13991f09d2
6 changed files with 93 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue