diff --git a/.pylintrc b/.pylintrc index 86fe09a4c..1c942d426 100644 --- a/.pylintrc +++ b/.pylintrc @@ -72,8 +72,12 @@ disable= # "R" Refactor recommendations abstract-class-little-used, abstract-class-not-used, + consider-using-set-comprehension, duplicate-code, + inconsistent-return-statements, interface-not-implemented, + no-else-raise, + no-else-return, no-self-use, too-few-public-methods, too-many-ancestors, @@ -84,7 +88,8 @@ disable= too-many-locals, too-many-public-methods, too-many-return-statements, - too-many-statements + too-many-statements, + useless-object-inheritance [BASIC] # Variable names can be 1 to 31 characters long, with lowercase and underscores diff --git a/test-requirements.txt b/test-requirements.txt index 98fe71b10..d7f2a0a6f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,7 @@ coverage!=4.4,>=4.0 # Apache-2.0 fixtures>=3.0.0 # Apache-2.0/BSD flake8-import-order==0.12 # LGPLv3 mock>=2.0.0 # BSD -pylint==1.7.6 # GPLv2 +pylint==2.3.0 # GPLv2 requests-mock>=1.2.0 # Apache-2.0 sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD openstackdocstheme>=1.18.1 # Apache-2.0