diff options
author | Matt Clay <matt@mystile.com> | 2020-06-17 09:22:41 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2020-09-29 09:30:25 -0700 |
commit | aac6ed13e6edd2ba431b3afdc54624abf65c7674 (patch) | |
tree | e86b0ca27fad73222dd730cce7fd49871cd29b18 | |
parent | 1781285ceb8cf88e2b93b1d53b7288f8e8dfcda8 (diff) | |
download | ansible-aac6ed13e6edd2ba431b3afdc54624abf65c7674.tar.gz |
[stable-2.8] Disabled inconsistent pylint checks..
(cherry picked from commit 8152d8bc1a0981230d43b0e3e54085912193eb9b)
Co-authored-by: Matt Clay <matt@mystile.com>
-rw-r--r-- | changelogs/fragments/ansible-test-sanity-pylint-config-fix.yml | 2 | ||||
-rw-r--r-- | test/sanity/pylint/config/ansible-test | 2 | ||||
-rw-r--r-- | test/sanity/pylint/config/default | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/fragments/ansible-test-sanity-pylint-config-fix.yml b/changelogs/fragments/ansible-test-sanity-pylint-config-fix.yml new file mode 100644 index 0000000000..5e863d0572 --- /dev/null +++ b/changelogs/fragments/ansible-test-sanity-pylint-config-fix.yml @@ -0,0 +1,2 @@ +bugfixes: + - ansible-test - Disabled the ``duplicate-code`` and ``cyclic-import`` checks for the ``pylint`` sanity test due to inconsistent results. diff --git a/test/sanity/pylint/config/ansible-test b/test/sanity/pylint/config/ansible-test index 887339ef5e..2e5c6be3d2 100644 --- a/test/sanity/pylint/config/ansible-test +++ b/test/sanity/pylint/config/ansible-test @@ -3,6 +3,8 @@ disable= invalid-name, no-self-use, + cyclic-import, # consistent results require running with --jobs 1 and testing all files + duplicate-code, # consistent results require running with --jobs 1 and testing all files too-few-public-methods, too-many-arguments, too-many-branches, diff --git a/test/sanity/pylint/config/default b/test/sanity/pylint/config/default index ee84cede0c..d8d9923487 100644 --- a/test/sanity/pylint/config/default +++ b/test/sanity/pylint/config/default @@ -24,9 +24,11 @@ disable= consider-using-in, consider-using-set-comprehension, consider-using-ternary, + cyclic-import, # consistent results require running with --jobs 1 and testing all files deprecated-lambda, deprecated-method, deprecated-module, + duplicate-code, # consistent results require running with --jobs 1 and testing all files eval-used, exec-used, expression-not-assigned, |