From 4c9c96ca7de9e0e41d8c0bbb54bf14058550d518 Mon Sep 17 00:00:00 2001 From: Prajwal Nadig Date: Sat, 6 Jun 2026 02:04:12 +0100 Subject: [PATCH] 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 --- .github/workflows/configs/.flake8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/configs/.flake8 b/.github/workflows/configs/.flake8 index c7b743c5..8b986ba5 100644 --- a/.github/workflows/configs/.flake8 +++ b/.github/workflows/configs/.flake8 @@ -1,6 +1,6 @@ [flake8] -ignore = +extend-ignore = # These are needed to make our license headers pass the linting E265, E266,