mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-10 05:14:18 +00:00
Run check-byte-order-marker against all text types, not just Python files
This commit is contained in:
parent
f8ae0aab7b
commit
841c47ebf7
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
description: Forbid files which have a UTF-8 byte-order marker
|
description: Forbid files which have a UTF-8 byte-order marker
|
||||||
entry: check-byte-order-marker
|
entry: check-byte-order-marker
|
||||||
language: python
|
language: python
|
||||||
types: [python]
|
types: [text]
|
||||||
- id: check-builtin-literals
|
- id: check-builtin-literals
|
||||||
name: Check builtin type constructor use
|
name: Check builtin type constructor use
|
||||||
description: Require literal syntax when initializing empty or zero Python builtin types.
|
description: Require literal syntax when initializing empty or zero Python builtin types.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue