]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/dashboard/.pylintrc: silence more pylint warnings 40536/head
authorKefu Chai <kchai@redhat.com>
Thu, 1 Apr 2021 05:45:08 +0000 (13:45 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 1 Apr 2021 08:05:57 +0000 (16:05 +0800)
commitc8f0b7939b625e01a865b449c4a1170686233624
tree8b93c1a37b1760967f1c99d717720ad2b6f5fcc7
parente2614de5d3ebb8b240facbc5e7ef3fc6293fbe12
pybind/mgr/dashboard/.pylintrc: silence more pylint warnings

this change is not cherry-picked from master, as we don't have following
warnings in master, like:

************* Module dashboard.controllers.saml2
        intern-builtin,
controllers/saml2.py:57:8: R1720: Unnecessary "else" after "raise" (no-else-raise)

also bump up the versions of pylint and astroid, so they
can work with python3.8.

see
https://github.com/PyCQA/astroid/commit/28fc86f260f0cd9433d0603da81ee52045f9e4c3

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/dashboard/.pylintrc
src/pybind/mgr/dashboard/requirements-py3.txt