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:
parent
0aebdb4aca
commit
dbf9634b1b
2 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue