Skip to content

Commit

Permalink
contributing: Fix syntax in Flake8 config
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 23, 2023
1 parent 860147a commit dba4b8c
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 dba4b8c

Please sign in to comment.