Skip to content

Commit

Permalink
contributing: Fix syntax in Flake8 config (#2976)
Browse files Browse the repository at this point in the history
Flake8 config file does not allow inline comments. Previous versions did not enforce that (which lead to silent errors), but the new versions (v6) do.

Source: PyCQA/flake8#1760
  • Loading branch information
wenzeslaus committed May 24, 2023
1 parent 673c1f5 commit 1600a32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .flake8
@@ -1,7 +1,9 @@
[flake8]
ignore =
E203, # whitespace before ':' (Black)
W503, # line break before binary operator (Black)
# whitespace before ':' (Black)
E203,
# line break before binary operator (Black)
W503,

per-file-ignores =
# Files and directories which need fixes or specific exceptions
Expand Down

0 comments on commit 1600a32

Please sign in to comment.