Fix ansible-test unicode and sanity tests. (#29743)

* Show warning when using pylint on Python 2.6.
* Add pylint disable entries for Python 2.
* Fix unicode handling in ansible-test.
* Add missing documentation.
This commit is contained in:
Matt Clay
2017-09-11 16:39:34 -07:00
committed by GitHub
parent b5eca624d0
commit 79bc49e150
7 changed files with 22 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ cell-var-from-loop
consider-iterating-dictionary
consider-using-enumerate
dangerous-default-value
deprecated-lambda
deprecated-method
deprecated-module
duplicate-key
@@ -32,6 +33,7 @@ global-variable-not-assigned
global-variable-undefined
import-error
import-self
invalid-encoded-data
invalid-name
line-too-long
locally-disabled
@@ -41,6 +43,7 @@ lost-exception
method-hidden
misplaced-comparison-constant
missing-docstring
no-init
no-member
no-name-in-module
no-self-use
@@ -49,6 +52,7 @@ non-iterator-returned
not-a-mapping
not-an-iterable
not-callable
old-style-class
pointless-statement
pointless-string-statement
protected-access
@@ -58,6 +62,7 @@ redefined-outer-name
redefined-variable-type
redundant-unittest-assert
reimported
relative-import
signature-differs
simplifiable-if-statement
super-init-not-called