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

@ -39,6 +39,7 @@ setup(
'autopep8-wrapper = pre_commit_hooks.autopep8_wrapper:main',
'check-added-large-files = pre_commit_hooks.check_added_large_files:main',
'check-ast = pre_commit_hooks.check_ast:check_ast',
'check-byte-order-marker = pre_commit_hooks.check_byte_order_marker:main',
'check-case-conflict = pre_commit_hooks.check_case_conflict:main',
'check-docstring-first = pre_commit_hooks.check_docstring_first:main',
'check-json = pre_commit_hooks.check_json:check_json',