Skip to content

Commit 25df8da

Browse files
committed
Use .flake8 to set linting options, not precommit
That enforces consistency in behavior when flake8 is run in other places Also, we want to ignore some contradictory warnings.
1 parent 59ead5a commit 25df8da

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
ignore = E123,E133,W503
3+
max-doc-length = 72

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ repos:
7676
rev: 3.7.3
7777
hooks:
7878
- id: flake8
79-
args: [--ignore=''] # don't use the default ignore list. Catch everything!
8079

8180
# Python }}}
8281

0 commit comments

Comments
 (0)