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

@ -51,6 +51,15 @@
# for backward compatibility
files: ''
minimum_pre_commit_version: 0.15.0
- id: check-executables-have-shebangs
name: Check that executables have shebangs
description: Ensures that (non-binary) executables have a shebang.
entry: check-executables-have-shebangs
language: python
types: [text, executable]
# for backward compatibility
files: ''
minimum_pre_commit_version: 0.15.0
- id: check-json
name: Check JSON
description: This hook checks json files for parseable syntax.