From 0d7eb0a972b3031d7f28f71b1a768395a8127853 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 3 Sep 2019 15:49:57 +0200 Subject: [PATCH] Add new env vars to pylint plugin The vars api.env.host_princ and smb_princ where introduced a while ago. Sometimes parallel linting complain about the attributes. Add both to the list of known members in pylint_plugins.py. Related: https://pagure.io/freeipa/issue/3999 Signed-off-by: Christian Heimes Reviewed-By: Florence Blanc-Renaud --- pylint_plugins.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylint_plugins.py b/pylint_plugins.py index 6e7526f8e..503121c4f 100644 --- a/pylint_plugins.py +++ b/pylint_plugins.py @@ -499,6 +499,7 @@ AstroidBuilder(MANAGER).string_build(textwrap.dedent( api.env.force_schema_check = False api.env.home = '' # object api.env.host = '' + api.env.host_princ = '' api.env.http_timeout = 0 api.env.in_server = False # object api.env.in_tree = False # object @@ -524,6 +525,7 @@ AstroidBuilder(MANAGER).string_build(textwrap.dedent( api.env.script = '' # object api.env.site_packages = '' # object api.env.skip_version_check = False + api.env.smb_princ = '' api.env.startup_timeout = 0 api.env.startup_traceback = False api.env.tls_ca_cert = '' # object