1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

* Enable pylint invalid-encoded-data test.
* Enable pylint anomalous-unicode-escape-in-string test.
This commit is contained in:
Matt Clay 2017-09-19 00:45:35 -07:00 committed by GitHub
parent 0aebdb4aca
commit dbf9634b1b
2 changed files with 1 additions and 3 deletions

View file

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

View file

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