ansible_ipa_server.py: Calm down ansible-test "metaclass-boilerplate"

ansible-test sanity test "metaclass-boilerplate" fails now to recognize
the line "__metaclass__ = type" if there is a pylint disable comment
appended to the same line to not fail on using bad class naming.

The pylint disable comment has been moved to an extra preceding line and
an additional enable commend has been added after the metaclass line.
This commit is contained in:
Thomas Woerner
2024-12-11 10:31:08 +01:00
parent 8e6c5e566d
commit a4f608854d

View File

@@ -23,7 +23,9 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type # pylint: disable=invalid-name
# pylint: disable=invalid-name
__metaclass__ = type
# pylint: enable=invalid-name
__all__ = ["IPAChangeConf", "certmonger", "sysrestore", "root_logger",
"ipa_generate_password", "run", "ScriptError", "services",