From 97378c38cfd910a6952d1bafbf395dea9fac59fd Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 17 Oct 2025 17:57:20 -0300 Subject: [PATCH] pylint: Add list of upper case constants to setup.cfg Pylint 4.0.1 seems to not understand that some of the constants used by ansible-freeipa roles and modules are constants and not variables, and complain about the naming style. By adding these constant names to the "good-names" list avoid pylint errors and don't require future unnecessary changes. Signed-off-by: Rafael Guterres Jeffman --- setup.cfg | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index c1cd4c64..b0cbe64d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -61,7 +61,12 @@ good-names = dt, ca, # These are utils tools, and not part of the released collection. galaxyfy-playbook, galaxyfy-README, galaxyfy-module-EXAMPLES, - module_EXAMPLES + module_EXAMPLES, + MODULE_IMPORT_ERROR, ANSIBLE_IPA_CLIENT_MODULE_IMPORT_ERROR, + CLIENT_SUPPORTS_NO_DNSSEC_VALIDATION, ANSIBLE_IPA_REPLICA_MODULE_IMPORT_ERROR, + SYSTEMD_RESOLVED_IPA_CONF, ANSIBLE_IPA_SERVER_MODULE_IMPORT_ERROR, + NETWORK_MANAGER_IPA_CONF, ANSIBLE_FREEIPA_MODULE_IMPORT_ERROR, + FIX_6741_DEEPCOPY_OBJECTCLASSES [pylint.IMPORTS]