aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-03-12 08:31:51 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-03-12 11:15:02 +0000
commit4b94ee4c438c19b9736f30920abb8a57e4bed0b7 (patch)
treec6420619deb9ec187113ca49207032207757ab3a
parentf1b8986fa243425fbdf47be55227778def351416 (diff)
Fix the flake8 config file to ignore E402 also in *_test.py files
Amends fec10bbbc097eff76a1f618f2791b3df1326594f. Pick-to: 6.5 Change-Id: Ic447be6128f7928812e11df0cd10dece4288cfd4 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> (cherry picked from commit c58c8b252fab815fdb7ffc0a10946daab50b878d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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