diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-05-30 12:54:54 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-05-30 12:57:57 +0200 |
commit | afb88a956018e8853265637c543f0219eb8ce258 (patch) | |
tree | c33761aedb4812d1ae095ae19a80daa16c24e2a9 /.flake8 | |
parent | 6741a169579f88181f7ab5812bad4e5f844c9c07 (diff) | |
download | qutebrowser-afb88a956018e8853265637c543f0219eb8ce258.tar.gz qutebrowser-afb88a956018e8853265637c543f0219eb8ce258.zip |
requirements: Update flake8-future-import to 0.4.0
- Add two older future imports
- Issue an error when a future import does not exist
- Define which is the oldest Python version to be supported so that
already mandatory features can be ignored and not yet supported
features default to forbidden (ignoring the lower error code).
- Use return code of 1 if errors occurred
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ exclude = .venv,.hypothesis,.git,__pycache__,resources.py # D211: No blank lines allowed before class docstring # (PEP257 got changed, but let's stick to the old standard) # D402: First line should not be function's signature (false-positives) -# FI10 - FI15: __future__ import missing +# FI10 - FI17: __future__ import missing # H101: Use TODO(NAME) # H201: bare except # H238: Use new-stule classes @@ -43,7 +43,7 @@ ignore = L101,L102,L103,L201,L202,L203,L204,L207,L302, P101,P102,P103, D102,D103,D104,D105,D209,D211,D402, - FI10,FI11,FI12,FI13,FI14,FI15, + FI10,FI11,FI12,FI13,FI14,FI15,FI16,FI17, H101,H201,H238,H301,H306 max-complexity = 12 putty-auto-ignore = True |