From ea459a1eca237955cc004da22145a0e6b598a6bf Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Wed, 12 Jul 2017 08:19:31 -0400 Subject: 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 --- .flake8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.flake8') 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 -- cgit v1.2.3-54-g00ecf