]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: silence E741 21627/head
authorJohn Spray <john.spray@redhat.com>
Mon, 30 Apr 2018 11:30:03 +0000 (07:30 -0400)
committerJohn Spray <john.spray@redhat.com>
Mon, 30 Apr 2018 15:39:40 +0000 (16:39 +0100)
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 <john.spray@redhat.com>
src/pybind/mgr/dashboard/tox.ini

index dc64379f13226441c3e8871c07bea963007e68a3..0a5445294420ad233964d6fb28b2339e29dfeb8d 100644 (file)
@@ -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 .