Skip to content

Commit 4c9c96c

Browse files
committed
Extend ignore list in flake8 config
flake8 disables a number of checks by default, e.g. W503 [1] and W504 [2], which are conflicting checks and are both not violations of the PEP8 standard. In the flake8 config, the `ignore` key overrides the default ignore list, leading to these issues being raised in CI. The `extend-ignore` key extends the default ignore list instead, allowing these issues to correctly remain suppressed. [1]: https://www.flake8rules.com/rules/W503.html [2]: https://www.flake8rules.com/rules/W504.html
1 parent 0366eba commit 4c9c96c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/configs/.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[flake8]
22

3-
ignore =
3+
extend-ignore =
44
# These are needed to make our license headers pass the linting
55
E265,
66
E266,

0 commit comments

Comments
 (0)