From 1e768b3f4e5cce3493559a2ee6aa6a4aea6a4603 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 30 Apr 2018 07:30:03 -0400 Subject: [PATCH] mgr/dashboard: silence E741 This is a pretty questionable check because it complains about the caller of an API instead of the API itself, if one of the API's members/arguments is one of the forbidden variable names such as 'O'. The interface to pyopenssl includes an 'O' member on the certificate object. Signed-off-by: John Spray --- src/pybind/mgr/dashboard/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/tox.ini b/src/pybind/mgr/dashboard/tox.ini index dc64379f1322..0a5445294420 100644 --- a/src/pybind/mgr/dashboard/tox.ini +++ b/src/pybind/mgr/dashboard/tox.ini @@ -23,4 +23,4 @@ commands= cov: coverage report cov: coverage xml lint: pylint --rcfile=.pylintrc --jobs=5 . module.py tools.py controllers tests services - lint: pycodestyle --max-line-length=100 --exclude=.tox,venv,frontend --ignore=E402,E121,E123,E126,E226,E24,E704,W503 . + lint: pycodestyle --max-line-length=100 --exclude=.tox,venv,frontend --ignore=E402,E121,E123,E126,E226,E24,E704,W503,E741 . -- 2.47.3