From 8115aad0ff19df9138acaedd318e9b32bd77ff47 Mon Sep 17 00:00:00 2001 From: alfonsomthd Date: Thu, 17 Jan 2019 16:51:11 +0100 Subject: [PATCH] mgr/dashboard: upgraded python dev dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * pylint, astroid: upgraded only for python 3. Latest stable, compatible even with python 3.7 * pycodestyle: 2.4.0 latest stable (python 2 & 3) Signed-off-by: Alfonso Martínez --- src/pybind/mgr/dashboard/.pylintrc | 4 +++- src/pybind/mgr/dashboard/requirements-py27.txt | 2 ++ src/pybind/mgr/dashboard/requirements-py3.txt | 2 ++ src/pybind/mgr/dashboard/requirements.txt | 4 +--- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pybind/mgr/dashboard/.pylintrc b/src/pybind/mgr/dashboard/.pylintrc index a9681c9c715..12baef3aab5 100644 --- a/src/pybind/mgr/dashboard/.pylintrc +++ b/src/pybind/mgr/dashboard/.pylintrc @@ -118,7 +118,9 @@ disable=import-star-module-level, no-member, too-many-arguments, too-many-locals, - too-many-statements + too-many-statements, + useless-object-inheritance + # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option diff --git a/src/pybind/mgr/dashboard/requirements-py27.txt b/src/pybind/mgr/dashboard/requirements-py27.txt index d4062b8d228..d8fb6f6a0dc 100644 --- a/src/pybind/mgr/dashboard/requirements-py27.txt +++ b/src/pybind/mgr/dashboard/requirements-py27.txt @@ -1 +1,3 @@ +astroid==1.6.1 +pylint==1.8.2 python-saml==2.4.2 diff --git a/src/pybind/mgr/dashboard/requirements-py3.txt b/src/pybind/mgr/dashboard/requirements-py3.txt index 63da8edcc5c..364ce28356c 100644 --- a/src/pybind/mgr/dashboard/requirements-py3.txt +++ b/src/pybind/mgr/dashboard/requirements-py3.txt @@ -1 +1,3 @@ +astroid==2.1.0 +pylint==2.2.2 python3-saml==1.4.1 diff --git a/src/pybind/mgr/dashboard/requirements.txt b/src/pybind/mgr/dashboard/requirements.txt index 12d3ecb5604..3bc95178126 100644 --- a/src/pybind/mgr/dashboard/requirements.txt +++ b/src/pybind/mgr/dashboard/requirements.txt @@ -1,4 +1,3 @@ -astroid==1.6.1 attrs==17.4.0 backports.functools-lru-cache==1.4 bcrypt==3.1.4 @@ -17,10 +16,9 @@ pbr==3.1.1 pluggy==0.6.0 portend==2.2 py==1.5.2 -pycodestyle==2.3.1 +pycodestyle==2.4.0 pycparser==2.18 PyJWT==1.6.4 -pylint==1.8.2 pyopenssl==17.5.0 pytest==3.3.2 pytest-cov==2.5.1 -- 2.39.5