From 9b6fd8cce00ace5e3b4c618b11dd22d0edd71002 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Wed, 9 Nov 2022 23:27:34 -0300 Subject: [PATCH] pylint: Update configuration for Python 3.11 Update pylint configuration on setup.cfg to cope with recent changes in Python 3.11. --- setup.cfg | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 10edc502..a199be56 100644 --- a/setup.cfg +++ b/setup.cfg @@ -59,12 +59,18 @@ disable = [pylint.BASIC] good-names = - ex, i, j, k, Run, _, e, x, dn, cn, ip, os, unicode, __metaclass__, ds + ex, i, j, k, Run, _, e, x, dn, cn, ip, os, unicode, __metaclass__, ds, + # These are utils tools, and not part of the released collection. + galaxyfy-playbook, galaxyfy-README, galaxyfy-module-EXAMPLES, + module_EXAMPLES + [pylint.IMPORTS] ignored-modules = ansible.errors, ansible.plugins.action, ansible.module_utils, ansible.module_utils.ansible_freeipa_module, + dns, + gssapi, ipalib, ipalib.config, ipalib.constants, ipalib.krb_utils, ipalib.errors, ipapython.ipautil, ipapython.dn, ipapython.version, ipapython.dnsutil, ipapython.ipa_log_manager, ipapython, @@ -72,7 +78,10 @@ ignored-modules = ipaserver.install.installutils, ipaserver.install.server.install, ipaserver.install, ipaclient.install.ipachangeconf, ipaclient.install.client, - ipaserver.dcerpc + ipaserver.dcerpc, + jinja2, + os, + SSSDConfig [pylint.REFACTORING] max-nested-blocks = 9 -- GitLab