Enable more pylint rules and fix reported issues. (#30543)

* Enable pylint invalid-encoded-data test.
* Enable pylint anomalous-unicode-escape-in-string test.
pull/30521/merge
Matt Clay 8 years ago committed by GitHub
parent 0aebdb4aca
commit dbf9634b1b

@ -1,7 +1,6 @@
abstract-method abstract-method
access-member-before-definition access-member-before-definition
anomalous-backslash-in-string anomalous-backslash-in-string
anomalous-unicode-escape-in-string
arguments-differ arguments-differ
assignment-from-no-return assignment-from-no-return
attribute-defined-outside-init attribute-defined-outside-init
@ -29,7 +28,6 @@ global-variable-not-assigned
global-variable-undefined global-variable-undefined
import-error import-error
import-self import-self
invalid-encoded-data
invalid-name invalid-name
line-too-long line-too-long
locally-disabled locally-disabled

@ -37,7 +37,7 @@ from ansible.template import Templar
from units.mock.loader import DictDataLoader from units.mock.loader import DictDataLoader
python_module_replacers = b""" python_module_replacers = br"""
#!/usr/bin/python #!/usr/bin/python
#ANSIBLE_VERSION = "<<ANSIBLE_VERSION>>" #ANSIBLE_VERSION = "<<ANSIBLE_VERSION>>"

Loading…
Cancel
Save