From: Kefu Chai Date: Fri, 19 Mar 2021 04:24:28 +0000 (+0800) Subject: pybind/mgr/dashboard: remove "python_version >= 3' X-Git-Tag: v16.2.0~86^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40273%2Fhead;p=ceph.git pybind/mgr/dashboard: remove "python_version >= 3' remove "python_version >= '3'" from requirements-lint.txt, as we've dropped the Python2 support. Signed-off-by: Kefu Chai (cherry picked from commit de9a6a4d6c6e20f6ba6ee7798e0a29431d04def9) --- diff --git a/src/pybind/mgr/dashboard/requirements-lint.txt b/src/pybind/mgr/dashboard/requirements-lint.txt index 4b9bdc7c0d3..917547b9095 100644 --- a/src/pybind/mgr/dashboard/requirements-lint.txt +++ b/src/pybind/mgr/dashboard/requirements-lint.txt @@ -1,11 +1,11 @@ pylint==2.6.0 -flake8==3.9.0; python_version >= '3' -flake8-colors==0.1.6; python_version >= '3' +flake8==3.9.0 +flake8-colors==0.1.6 #TODO: Fix docstring issues: https://tracker.ceph.com/issues/41224 #flake8-docstrings #pep8-naming -rstcheck==3.3.1; python_version >= '3' -autopep8; python_version >= '3' -pyfakefs; python_version >= '3' +rstcheck==3.3.1 +autopep8 +pyfakefs isort==5.5.3 pytest