diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-03-14 11:59:20 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-03-14 11:59:20 +0100 |
commit | d2c135f0314c1237fdbce552a9e0223b6d26ed3b (patch) | |
tree | 3998bfe5059e4e954f1cce08f7e57ff5fef8d4e3 /.flake8 | |
parent | 6e48c9f1a9e782f877672565aff290f8028d300d (diff) | |
download | qutebrowser-d2c135f0314c1237fdbce552a9e0223b6d26ed3b.tar.gz qutebrowser-d2c135f0314c1237fdbce552a9e0223b6d26ed3b.zip |
lint: Disable B028 for tests
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ exclude = .*,__pycache__,resources.py # B008: Do not perform calls in argument defaults. (fine with some Qt stuff) # B011: Do not call assert False since python -O removes these calls. Instead # callers should raise AssertionError(). +# B028: Missing stacklevel= for warnings # B305: .next() (false-positives) # E128: continuation line under-indented for visual indent # E226: missing whitespace around arithmetic operator @@ -61,7 +62,7 @@ min-version = 3.7.0 max-complexity = 12 per-file-ignores = qutebrowser/api/hook.py : N801 - tests/* : B011,D100,D101 + tests/* : B011,B028,D100,D101 tests/unit/browser/test_history.py : D100,D101,N806 tests/helpers/fixtures.py : D100,D101,N806 tests/unit/browser/webkit/http/test_content_disposition.py : D100,D101,D400 |