ansible-test - Improve pylint backwards compat (#79997)

pull/80000/head
Matt Clay 1 year ago committed by GitHub
parent 875a4ec242
commit d67b436eba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,3 @@
minor_changes:
- ansible-test - Removed the ``ansible-format-automatic-specification`` rule from the ``pylint`` sanity test,
- ansible-test - Disabled the ``ansible-format-automatic-specification`` rule from the ``pylint`` sanity test,
now that Python 2.6 is no longer supported.

@ -11,6 +11,9 @@ from pylint.checkers import utils
from pylint.checkers.utils import check_messages
MSGS = {
'E9305': ("disabled", # kept for backwards compatibility with inline ignores, remove after 2.14 is EOL
"ansible-format-automatic-specification",
"disabled"),
'E9390': ("bytes object has no .format attribute",
"ansible-no-format-on-bytestring",
"Used when a bytestring was used as a PEP 3101 format string "

Loading…
Cancel
Save