diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-04-04 10:28:12 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-04-04 10:51:24 +0200 |
commit | 1033913276543167c8c648380caf288cdc6197b3 (patch) | |
tree | e92b22450db6fae370d1be6164eab3aa92233969 /.flake8 | |
parent | 0b0be06e54017dd22456f833710891062cf65f8b (diff) | |
download | qutebrowser-1033913276543167c8c648380caf288cdc6197b3.tar.gz qutebrowser-1033913276543167c8c648380caf288cdc6197b3.zip |
Update flake8 config for Python 3.6
The 'generator_stop' future import is default in Python 3.7:
https://docs.python.org/3/library/__future__.html
While we do want 'annotations' eventually, it doesn't bring us any gain
right now, see #7098.
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ exclude = .*,__pycache__,resources.py # A003: Builtin name for class attribute (needed for overridden methods) # W503: like break before binary operator # W504: line break after binary operator -# FI15: __future__ import "generator_stop" missing +# FI18: __future__ import "annotations" missing # PT004: fixture '{name}' does not return anything, add leading underscore # PT011: pytest.raises(ValueError) is too broad, set the match parameter or use a more specific exception # PT012: pytest.raises() block should contain a single simple statement @@ -53,7 +53,7 @@ ignore = D102,D103,D106,D107,D104,D105,D209,D211,D401,D402,D403,D412,D413, A003, W503, W504, - FI15, + FI18, PT004, PT011, PT012 |