Skip to content

Commit 6c5d00b

Browse files
committed
Ignore ambiguous variable names error from pycodestyle 2.6
This error is given for any use of variable called "l" (and also "I" and "O", but we don't seem to have any of those) and it doesn't seem to be worth changing this variable name in the tests code, as it's really not that meaningful there anyhow, so just disable the warning to let the CI builds, which now use pycodestyle 2.6, instead of 2.5 which didn't have this error and which is still the latest available in Debian Sid, pass.
1 parent ab8ecbc commit 6c5d00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/test-suite/python/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif
1111
LANGUAGE = python
1212
PYTHON = $(PYBIN)
1313
PYCODESTYLE = @PYCODESTYLE@
14-
PYCODESTYLE_FLAGS = --ignore=E252,E30,E402,E501,E731,W291,W391
14+
PYCODESTYLE_FLAGS = --ignore=E252,E30,E402,E501,E731,E741,W291,W391
1515

1616
#*_runme.py for Python 2.x, *_runme3.py for Python 3.x
1717
PY2SCRIPTSUFFIX = _runme.py

0 commit comments

Comments
 (0)