mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +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
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue