Expand disabled pylint rules. (#29162)

* Expand disabled pylint rules.
* Fix pylint and unicode issues in ansible-test.
This commit is contained in:
Matt Clay 2017-09-09 08:59:09 -07:00 committed by GitHub
commit f88750d665
5 changed files with 87 additions and 9 deletions

View file

@ -1,24 +1,100 @@
abstract-method
access-member-before-definition
anomalous-backslash-in-string
anomalous-unicode-escape-in-string
arguments-differ
assignment-from-no-return
C
attribute-defined-outside-init
bad-continuation
bad-format-string
bad-indentation
bad-mcs-classmethod-argument
bad-open-mode
bad-whitespace
bare-except
blacklisted-name
broad-except
cell-var-from-loop
consider-iterating-dictionary
consider-using-enumerate
dangerous-default-value
deprecated-method
deprecated-module
duplicate-key
eval-used
exec-used
expression-not-assigned
fixme
function-redefined
global-at-module-level
global-statement
global-variable-not-assigned
global-variable-undefined
import-error
import-self
invalid-name
line-too-long
locally-disabled
locally-enabled
logging-format-interpolation
logging-not-lazy
lost-exception
method-hidden
misplaced-comparison-constant
missing-docstring
no-member
no-name-in-module
no-self-use
no-value-for-parameter
non-iterator-returned
no-name-in-module
not-a-mapping
not-an-iterable
not-callable
R
pointless-statement
pointless-string-statement
protected-access
raising-bad-type
raising-non-exception
redefined-builtin
redefined-outer-name
redefined-variable-type
redundant-unittest-assert
reimported
signature-differs
simplifiable-if-statement
super-init-not-called
superfluous-parens
suppressed-message
too-few-public-methods
too-many-ancestors
too-many-arguments
too-many-boolean-expressions
too-many-branches
too-many-function-args
too-many-instance-attributes
too-many-lines
too-many-locals
too-many-nested-blocks
too-many-public-methods
too-many-return-statements
too-many-statements
trailing-newlines
undefined-loop-variable
unexpected-keyword-arg
ungrouped-imports
unidiomatic-typecheck
unnecessary-lambda
unnecessary-pass
unneeded-not
unreachable
unsubscriptable-object
unsupported-membership-test
unused-argument
unused-import
unused-variable
unused-wildcard-import
used-before-assignment
W
useless-else-on-loop
useless-suppression
using-constant-test
wildcard-import
wrong-import-order
wrong-import-position

View file

@ -1 +0,0 @@
#wildcard-import