From: John Spray Date: Mon, 30 Apr 2018 11:30:03 +0000 (-0400) Subject: mgr/dashboard: silence E741 X-Git-Tag: v13.1.0~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F21627%2Fhead;p=ceph.git 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 --- 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 .