mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Enable additional pylint rules and resolve issues found. (#47221)
* Resolve unneeded-not. * Resolve global-at-module-level. * Resolve useless-import-alias. * Resolve bad-whitespace. * Resolve global-variable-not-assigned. * Resolve logging-not-lazy. * Resolve comparison-with-itself.
This commit is contained in:
@@ -11,7 +11,6 @@ disable=
|
||||
bad-continuation,
|
||||
bad-indentation,
|
||||
bad-mcs-classmethod-argument,
|
||||
bad-whitespace,
|
||||
bare-except,
|
||||
blacklisted-name,
|
||||
broad-except,
|
||||
@@ -19,7 +18,6 @@ disable=
|
||||
cell-var-from-loop,
|
||||
chained-comparison,
|
||||
comparison-with-callable,
|
||||
comparison-with-itself,
|
||||
consider-iterating-dictionary,
|
||||
consider-merging-isinstance,
|
||||
consider-using-dict-comprehension,
|
||||
@@ -36,9 +34,7 @@ disable=
|
||||
expression-not-assigned,
|
||||
fixme,
|
||||
function-redefined,
|
||||
global-at-module-level,
|
||||
global-statement,
|
||||
global-variable-not-assigned,
|
||||
global-variable-undefined,
|
||||
import-error,
|
||||
import-self,
|
||||
@@ -52,7 +48,6 @@ disable=
|
||||
line-too-long,
|
||||
literal-comparison,
|
||||
locally-disabled,
|
||||
logging-not-lazy,
|
||||
method-hidden,
|
||||
misplaced-comparison-constant,
|
||||
missing-docstring,
|
||||
@@ -105,7 +100,6 @@ disable=
|
||||
unexpected-keyword-arg,
|
||||
ungrouped-imports,
|
||||
unidiomatic-typecheck,
|
||||
unneeded-not,
|
||||
unsubscriptable-object,
|
||||
unsupported-assignment-operation,
|
||||
unsupported-delete-operation,
|
||||
@@ -114,7 +108,6 @@ disable=
|
||||
unused-import,
|
||||
unused-variable,
|
||||
used-before-assignment,
|
||||
useless-import-alias,
|
||||
useless-object-inheritance,
|
||||
useless-return,
|
||||
useless-super-delegation,
|
||||
|
||||
Reference in New Issue
Block a user