summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2016-06-20 06:50:01 +0200
committerFlorian Bruhin <git@the-compiler.org>2016-06-20 07:16:59 +0200
commit2b285740d9ac9751191c0f5d7506734cc2847428 (patch)
tree439d19f684db234fa1690bca54c9fece03088891 /.flake8
parent522b938974c17f8bfb675522ec2e0c00c926ca55 (diff)
downloadqutebrowser-2b285740d9ac9751191c0f5d7506734cc2847428.tar.gz
qutebrowser-2b285740d9ac9751191c0f5d7506734cc2847428.zip
Update flake8 requirements
flake8 2.6.0 ------------ - Switch to pycodestyle as all future pep8 releases will use that package name - Allow for Windows users on select versions of Python to use --jobs and multiprocessing - Update bounds on McCabe - Update bounds on PyFlakes and blacklist known broken versions - Handle new PyFlakes warning with a new error code: F405 flake8-copyright 0.1.1 ---------------------- - Set line & column to 1,1 to avoid a flake8 error - Support multi-year copyright notices flake8-docstrings 0.2.8 ----------------------- - Try to import pydocstyle (not pycodestyle) as pep257 - Import either pycodestyle or pep8 to use stdin_get_value. This fixes the problem for newer Flake8’s (2.6.0+) and older ones. pycodestyle 2.0.0 ----------------- Announcements: - Repository renamed to `pycodestyle` - Added joint Code of Conduct as member of PyCQA Changes: - Added tox test support for Python 3.5 and pypy3 - Added check E275 for whitespace on `from ... import ...` lines - Added W503 to the list of codes ignored by default ignore list - Removed use of project level `.pep8` configuration file Bugs: - Fixed bug with treating `~` operator as binary - Identify binary operators as unary Other changes ------------- - Unpin mccabe as the flake8 requirement got updated - Pin pep8 as an older version gets installed otherwise - DIsable D403 warning (false-positivies)
Diffstat (limited to '.flake8')
-rw-r--r--.flake84
1 files changed, 3 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index af9e54429..537dfeff0 100644
--- a/.flake8
+++ b/.flake8
@@ -30,6 +30,8 @@ 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)
+# D403: First word of the first line should be properly capitalized
+# (false-positives)
# H101: Use TODO(NAME)
# H201: bare except
# H238: Use new-stule classes
@@ -41,7 +43,7 @@ ignore =
N802,
L101,L102,L103,L201,L202,L203,L204,L207,L302,
P101,P102,P103,
- D102,D103,D104,D105,D209,D211,D402,
+ D102,D103,D104,D105,D209,D211,D402,D403,
H101,H201,H238,H301,H306
min-version = 3.4.0
max-complexity = 12