Skip to content

Commit

Permalink
tests/ci: use flake8 --extend-ignore instead of --ignore (#5550)
Browse files Browse the repository at this point in the history
Using --ignore completely overrides the ignore list, while
--extend-ignore (introduced in flake8 v.3.6) extends the default
settings.

Overriding the built-in defaults seems to enable both W503 and W504,
which are impossible to satisfy at the same time.
  • Loading branch information
rokm committed Feb 13, 2021
1 parent c117eba commit d4a8b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -173,4 +173,4 @@ exclude =
bootloader
show-source = True
# E265 - block comment should start with '# '
ignore = E265
extend-ignore = E265

0 comments on commit d4a8b4c

Please sign in to comment.