Add EOF and trailing whitespace fixer to pre-commit config (#2330)
This commit is contained in:
parent
e2fd914dc1
commit
52f402dcfb
@ -28,3 +28,9 @@ repos:
|
|||||||
rev: v2.2.1
|
rev: v2.2.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v4.0.1
|
||||||
|
hooks:
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: trailing-whitespace
|
||||||
|
@ -1 +0,0 @@
|
|||||||
|
|
@ -7,4 +7,3 @@ line-length = 79
|
|||||||
target-version = ["py36", "py37", "py38"]
|
target-version = ["py36", "py37", "py38"]
|
||||||
exclude='\.pyi?$'
|
exclude='\.pyi?$'
|
||||||
include='\.py?$'
|
include='\.py?$'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user