Skip to content

Commit

Permalink
Fix .flake8 for fake8 6.0.0
Browse files Browse the repository at this point in the history
This backwards incompatible change was made in version 6.0.0 of
flake8.

* Produce an error when invalid codes are specified in configuration
  (See also #1689, #1713).

see: PyCQA/flake8#1689 (comment)
  • Loading branch information
blogh committed Nov 28, 2022
1 parent b016e51 commit 87364cd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[flake8]
doctests = True
ignore =
E203, # whitespace before ‘:’
E501, # line too long
W503, # line break before binary operator
# whitespace before ‘:’
E203,
# line too long
E501,
# line break before binary operator
W503,
exclude =
.git,
.mypy_cache,
Expand Down

0 comments on commit 87364cd

Please sign in to comment.