From 190e0139e834e4271268652e058c280787ae69eb Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 30 May 2019 11:31:03 -0400 Subject: Enable F841 This is a very useful assertion which prevents unused variables from being set up allows code to be more readable and sometimes even more efficient. test suites seem to be where the most problems are and there do not seem to be documentation examples that are using this, or at least the linter is not taking effect within rst blocks. Change-Id: I2b3341d8dd14da34879d8425838e66a4b9f8e27d --- lib/sqlalchemy/util/compat.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/sqlalchemy/util/compat.py') diff --git a/lib/sqlalchemy/util/compat.py b/lib/sqlalchemy/util/compat.py index 11bfe7a03..b655a55f3 100644 --- a/lib/sqlalchemy/util/compat.py +++ b/lib/sqlalchemy/util/compat.py @@ -74,7 +74,6 @@ def inspect_getfullargspec(func): nkwargs = co.co_kwonlyargcount if py3k else 0 args = list(names[:nargs]) kwonlyargs = list(names[nargs : nargs + nkwargs]) - step = 0 nargs += nkwargs varargs = None -- cgit v1.2.1