Lint: Implement check for spaces, not tabs per PEP 12 (#2379)
This commit is contained in:
parent
6c980148f2
commit
a0dece9632
|
@ -70,6 +70,12 @@ repos:
|
||||||
# Local checks for PEP headers and more
|
# Local checks for PEP headers and more
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
- id: check-no-tabs
|
||||||
|
name: "Check tabs not used in PEPs"
|
||||||
|
language: pygrep
|
||||||
|
entry: '\t'
|
||||||
|
files: '^pep-\d+\.(rst|txt)$'
|
||||||
|
types: [text]
|
||||||
- id: check-required-fields
|
- id: check-required-fields
|
||||||
name: "Check PEPs have all required fields"
|
name: "Check PEPs have all required fields"
|
||||||
language: pygrep
|
language: pygrep
|
||||||
|
|
Loading…
Reference in New Issue