summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorRyan Roden-Corrent <ryan@rcorre.net>2017-07-12 08:19:31 -0400
committerRyan Roden-Corrent <ryan@rcorre.net>2017-07-12 08:19:31 -0400
commitea459a1eca237955cc004da22145a0e6b598a6bf (patch)
tree1206ab293b51c459239471376db6271e5df14fd4 /.flake8
parent182d067ff8f09de1f92461e5d87011055625eb1d (diff)
downloadqutebrowser-ea459a1eca237955cc004da22145a0e6b598a6bf.tar.gz
qutebrowser-ea459a1eca237955cc004da22145a0e6b598a6bf.zip
SQL code review fixes.
- Ignore invalid variable name in flake8 (pylint already checks this and we don't want to have to double-ignore) - Fix and test completion bug with `:set asdf ` - Remove unused import - Use `assert not func.called` instead of `func.assert_not_called` for backwards compatibility
Diffstat (limited to '.flake8')
-rw-r--r--.flake83
1 files changed, 2 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index d967a505b..b87fef8b2 100644
--- a/.flake8
+++ b/.flake8
@@ -11,6 +11,7 @@ exclude = .*,__pycache__,resources.py
# (for pytest's __tracebackhide__)
# F401: Unused import
# N802: function name should be lowercase
+# N806: variable in function should be lowercase
# P101: format string does contain unindexed parameters
# P102: docstring does contain unindexed parameters
# P103: other string does contain unindexed parameters
@@ -27,7 +28,7 @@ exclude = .*,__pycache__,resources.py
ignore =
E128,E226,E265,E501,E402,E266,E722,E731,
F401,
- N802,
+ N802,N806
P101,P102,P103,
D102,D103,D104,D105,D209,D211,D402,D403
min-version = 3.4.0