diff options
author | Adrian Herrmann <adrian.herrmann@qt.io> | 2024-01-31 17:49:53 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-02-01 10:17:27 +0000 |
commit | efbe25045a486697f90828c8850640a648e17fdf (patch) | |
tree | 292ad42d86d5c01951781848bc28534c3f913ac1 | |
parent | a988c31b4824e423a7d05fd0580c7427797ac402 (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.
Change-Id: Ie8a99d8de69b40b641a5be24c87dca787b80222e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 594a41e3ea52e38b4c202325b2733f9484484c41)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | .flake8 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |