Add check for executability of scripts with shebangs

Closes https://github.com/pre-commit/pre-commit-hooks/issues/543
This commit is contained in:
Ville Skyttä 2021-01-08 17:36:55 +02:00 committed by Anthony Sottile
parent 9e7cd9f13a
commit 391ae30a64
5 changed files with 151 additions and 0 deletions

View file

@ -58,6 +58,9 @@ Attempts to load all json files to verify syntax.
#### `check-merge-conflict`
Check for files that contain merge conflict strings.
#### `check-shebang-scripts-are-executable`
Checks that scripts with shebangs are executable.
#### `check-symlinks`
Checks for symlinks which do not point to anything.