mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
Add check for text file encodings
This commit is contained in:
parent
56b4a7e506
commit
69d0dfbab2
5 changed files with 58 additions and 0 deletions
|
|
@ -32,6 +32,12 @@
|
|||
entry: check-docstring-first
|
||||
language: python
|
||||
types: [python]
|
||||
- id: check-encoding
|
||||
name: check text files have desired encoding
|
||||
description: checks that text files decode cleanly using an encoding.
|
||||
entry: check-encoding
|
||||
language: python
|
||||
types: [text]
|
||||
- id: check-executables-have-shebangs
|
||||
name: check that executables have shebangs
|
||||
description: ensures that (non-binary) executables have a shebang.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue