mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 12:06:53 +00:00
Forbid files with a UTF-8 BOM
This commit is contained in:
parent
97b88d9610
commit
fe9c404019
5 changed files with 49 additions and 0 deletions
|
|
@ -18,6 +18,12 @@
|
|||
entry: check-ast
|
||||
language: python
|
||||
files: '\.py$'
|
||||
- id: check-byte-order-marker
|
||||
name: Check for byte-order marker
|
||||
description: Forbid files which have a UTF-8 byte-order marker
|
||||
entry: check-byte-order-marker
|
||||
language: python
|
||||
files: '\.py$'
|
||||
- id: check-case-conflict
|
||||
name: Check for case conflicts
|
||||
description: Check for files that would conflict in case-insensitive filesystems
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue