Add EOF and trailing whitespace fixer to pre-commit config (#2330)

This commit is contained in:
jack1142 2021-06-13 19:22:46 +02:00 committed by GitHub
parent e2fd914dc1
commit 52f402dcfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 6 deletions

View File

@ -28,3 +28,9 @@ repos:
rev: v2.2.1
hooks:
- id: prettier
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace

View File

@ -1 +0,0 @@

View File

@ -7,4 +7,3 @@ line-length = 79
target-version = ["py36", "py37", "py38"]
exclude='\.pyi?$'
include='\.py?$'