Forbid files with a UTF-8 BOM

This commit is contained in:
Anthony Sottile 2016-03-18 10:59:31 -07:00
parent 97b88d9610
commit fe9c404019
5 changed files with 49 additions and 0 deletions

View file

@ -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