Skip to content

Commit

Permalink
Use .flake8 to set linting options, not precommit
Browse files Browse the repository at this point in the history
That enforces consistency in behavior when flake8 is run in other places

Also, we want to ignore some contradictory warnings.
  • Loading branch information
rpdelaney committed Jul 30, 2019
1 parent 59ead5a commit 25df8da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
ignore = E123,E133,W503
max-doc-length = 72
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ repos:
rev: 3.7.3
hooks:
- id: flake8
args: [--ignore=''] # don't use the default ignore list. Catch everything!

# Python }}}

Expand Down

0 comments on commit 25df8da

Please sign in to comment.