mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-29 10:16:52 +00:00
Remove check-byte-order-marker and fix-encoding-pragma
This commit is contained in:
parent
5c514f85cc
commit
5920aee766
7 changed files with 7 additions and 372 deletions
|
|
@ -12,9 +12,9 @@
|
|||
language: python
|
||||
types: [python]
|
||||
- id: check-byte-order-marker
|
||||
name: 'check BOM - deprecated: use fix-byte-order-marker'
|
||||
description: forbids files which have a utf-8 byte-order marker.
|
||||
entry: check-byte-order-marker
|
||||
name: check-byte-order-marker (removed)
|
||||
description: (removed) use fix-byte-order-marker instead.
|
||||
entry: pre-commit-hooks-removed check-byte-order-marker fix-byte-order-marker https://github.com/pre-commit/pre-commit-hooks
|
||||
language: python
|
||||
types: [text]
|
||||
- id: check-builtin-literals
|
||||
|
|
@ -155,10 +155,10 @@
|
|||
language: python
|
||||
types: [text]
|
||||
- id: fix-encoding-pragma
|
||||
name: fix python encoding pragma (deprecated)
|
||||
description: 'adds # -*- coding: utf-8 -*- to the top of python files.'
|
||||
name: fix python encoding pragma (removed)
|
||||
description: (removed) use pyupgrade instead.
|
||||
entry: pre-commit-hooks-removed fix-encoding-pragma pyupgrade https://github.com/asottile/pyupgrade
|
||||
language: python
|
||||
entry: fix-encoding-pragma
|
||||
types: [python]
|
||||
- id: forbid-new-submodules
|
||||
name: forbid new submodules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue