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 | |
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
-rw-r--r-- | .flake8 | 4 | ||||
-rw-r--r-- | misc/requirements/requirements-flake8.txt | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/misc/requirements/requirements-flake8.txt b/misc/requirements/requirements-flake8.txt index bfcc594aa..6f2edee7e 100644 --- a/misc/requirements/requirements-flake8.txt +++ b/misc/requirements/requirements-flake8.txt @@ -4,7 +4,7 @@ flake8-copyright==0.1 flake8-debugger==1.4.0 flake8-deprecated==1.0 flake8-docstrings==0.2.6 -flake8-future-import==0.3.2 +flake8-future-import==0.4.0 flake8-mock==0.2 flake8-pep3101==0.3 flake8-putty==0.3.2 |