aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-03-12 08:31:51 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-03-12 09:44:45 +0100
commitc58c8b252fab815fdb7ffc0a10946daab50b878d (patch)
tree10d7f964b9e42b3c669feb551cb76ab9ec2d286f
parent262e2a6c2742eb9bb0887ae5cb7c2fb0a975f373 (diff)
Fix the flake8 config file to ignore E402 also in *_test.py files
Amends fec10bbbc097eff76a1f618f2791b3df1326594f. Pick-to: 6.6 6.5 Change-Id: Ic447be6128f7928812e11df0cd10dece4288cfd4 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-rw-r--r--.flake81
1 files changed, 1 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
index ef866035b..5148db39e 100644
--- a/.flake8
+++ b/.flake8
@@ -5,5 +5,6 @@ exclude = rc_*.py,*_rc.py,ui_*.py
per-file-ignores =
# for init_test_paths() hack
*_test_*.py:E402
+ *_test.py:E402
__init__.py:F401,E402