aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Herrmann <adrian.herrmann@qt.io>2024-01-31 17:49:53 +0100
committerAdrian Herrmann <adrian.herrmann@qt.io>2024-02-01 09:44:04 +0100
commit594a41e3ea52e38b4c202325b2733f9484484c41 (patch)
tree9b91b67852c0829f8736c24a6b4e2293a0053585
parenta660f04e6a4be234de0ca65bc4dc4dfb5385185f (diff)
flake8: Fix path for E402 exceptions
flake8 should ignore E402 not only for Python files that begin with test but also for those that end with it. Pick-to: 6.6 Change-Id: Ie8a99d8de69b40b641a5be24c87dca787b80222e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--.flake82
1 files changed, 1 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index 4b911cad5..23de0bf96 100644
--- a/.flake8
+++ b/.flake8
@@ -4,4 +4,4 @@ max-line-length = 100
exclude = rc_*.py,*_rc.py,ui_*.py
per-file-ignores =
# for init_test_paths() hack
- test_*.py:E402
+ *_test_*.py:E402