From edf765c9a427ebbb5681053ff06a12ba6faeff15 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Wed, 11 Dec 2024 10:31:08 +0100 Subject: [PATCH] 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. --- roles/ipaserver/module_utils/ansible_ipa_server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ipaserver/module_utils/ansible_ipa_server.py b/roles/ipaserver/module_utils/ansible_ipa_server.py index 3d01e0ecad..318884b14c 100644 --- a/roles/ipaserver/module_utils/ansible_ipa_server.py +++ b/roles/ipaserver/module_utils/ansible_ipa_server.py @@ -23,7 +23,8 @@ from __future__ import (absolute_import, division, print_function) -__metaclass__ = type # pylint: disable=invalid-name +# pylint: disable=invalid-name +__metaclass__ = type __all__ = ["IPAChangeConf", "certmonger", "sysrestore", "root_logger", "ipa_generate_password", "run", "ScriptError", "services",