summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_util/controller/sanity/pylint/config/collection.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_util/controller/sanity/pylint/config/collection.cfg')
-rw-r--r--test/lib/ansible_test/_util/controller/sanity/pylint/config/collection.cfg9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/lib/ansible_test/_util/controller/sanity/pylint/config/collection.cfg b/test/lib/ansible_test/_util/controller/sanity/pylint/config/collection.cfg
index 38b8d2d0..762d488d 100644
--- a/test/lib/ansible_test/_util/controller/sanity/pylint/config/collection.cfg
+++ b/test/lib/ansible_test/_util/controller/sanity/pylint/config/collection.cfg
@@ -9,7 +9,8 @@ disable=
attribute-defined-outside-init,
bad-indentation,
bad-mcs-classmethod-argument,
- broad-except,
+ broad-exception-caught,
+ broad-exception-raised,
c-extension-no-member,
cell-var-from-loop,
chained-comparison,
@@ -29,6 +30,7 @@ disable=
consider-using-max-builtin,
consider-using-min-builtin,
cyclic-import, # consistent results require running with --jobs 1 and testing all files
+ deprecated-comment, # custom plugin only used by ansible-core, not collections
deprecated-method, # results vary by Python version
deprecated-module, # results vary by Python version
duplicate-code, # consistent results require running with --jobs 1 and testing all files
@@ -95,8 +97,6 @@ disable=
too-many-public-methods,
too-many-return-statements,
too-many-statements,
- trailing-comma-tuple,
- trailing-comma-tuple,
try-except-raise,
unbalanced-tuple-unpacking,
undefined-loop-variable,
@@ -110,10 +110,9 @@ disable=
unsupported-delete-operation,
unsupported-membership-test,
unused-argument,
- unused-import,
unused-variable,
unspecified-encoding, # always run with UTF-8 encoding enforced
- use-dict-literal, # many occurrences
+ use-dict-literal, # ignoring as a common style issue
use-list-literal, # many occurrences
use-implicit-booleaness-not-comparison, # many occurrences
useless-object-inheritance,