Browse code

[stable-2.8] Disabled inconsistent pylint checks.. (cherry picked from commit 8152d8bc1a0981230d43b0e3e54085912193eb9b)

Co-authored-by: Matt Clay <matt@mystile.com>

Matt Clay authored on 2020/06/18 01:22:41
Showing 3 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
0
+bugfixes:
1
+    - ansible-test - Disabled the ``duplicate-code`` and ``cyclic-import`` checks for the ``pylint`` sanity test due to inconsistent results.
... ...
@@ -3,6 +3,8 @@
3 3
 disable=
4 4
     invalid-name,
5 5
     no-self-use,
6
+    cyclic-import,  # consistent results require running with --jobs 1 and testing all files
7
+    duplicate-code,  # consistent results require running with --jobs 1 and testing all files
6 8
     too-few-public-methods,
7 9
     too-many-arguments,
8 10
     too-many-branches,
... ...
@@ -24,9 +24,11 @@ disable=
24 24
     consider-using-in,
25 25
     consider-using-set-comprehension,
26 26
     consider-using-ternary,
27
+    cyclic-import,  # consistent results require running with --jobs 1 and testing all files
27 28
     deprecated-lambda,
28 29
     deprecated-method,
29 30
     deprecated-module,
31
+    duplicate-code,  # consistent results require running with --jobs 1 and testing all files
30 32
     eval-used,
31 33
     exec-used,
32 34
     expression-not-assigned,