diff options
author | Ryan Roden-Corrent <ryan@rcorre.net> | 2017-07-12 08:19:31 -0400 |
---|---|---|
committer | Ryan Roden-Corrent <ryan@rcorre.net> | 2017-07-12 08:19:31 -0400 |
commit | ea459a1eca237955cc004da22145a0e6b598a6bf (patch) | |
tree | 1206ab293b51c459239471376db6271e5df14fd4 /.flake8 | |
parent | 182d067ff8f09de1f92461e5d87011055625eb1d (diff) | |
download | qutebrowser-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-- | .flake8 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |