mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
fix skipping of physical checks when file does not end in newline
This commit is contained in:
parent
2c64d3ec5a
commit
ee9c2874a9
3 changed files with 46 additions and 4 deletions
|
|
@ -2,6 +2,8 @@ repos:
|
|||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: debug-statements
|
||||
exclude: ^tests/fixtures/example-code/invalid-syntax.py$
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
exclude: ^tests/fixtures/diffs/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue