diff options
| author | Christian Heimes <cheimes@redhat.com> | 2016-11-18 11:31:36 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-11-22 17:37:39 +0100 |
| commit | 573eee444e1746fd5949897294c96a1793e74511 (patch) | |
| tree | fba86c4b58876665fdbee6f775acf1ef8e0bc541 | |
| parent | 0914fc6a6043846159f6d1c4bb433dcfe9ee3f46 (diff) | |
| download | freeipa-573eee444e1746fd5949897294c96a1793e74511.tar.gz freeipa-573eee444e1746fd5949897294c96a1793e74511.tar.xz freeipa-573eee444e1746fd5949897294c96a1793e74511.zip | |
Pylint: whitelist packages with extension modules
Pylint refuses to load extension modules from unsafe places. This
triggers import-error failures for pylint runs inside a tox virtualenv.
Any module or package in extension-pkg-whitelist is whitelisted and
pylint imports extension modules.
https://fedorahosted.org/freeipa/ticket/6468
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
| -rw-r--r-- | pylintrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -9,6 +9,15 @@ load-plugins=pylint_plugins # Use multiple processes to speed up Pylint. jobs=0 +# A list of packages with safe C extensions to load +extension-pkg-whitelist= + _ldap, + cryptography, + gssapi, + netifaces, + nss + + [MESSAGES CONTROL] enable= |
