summaryrefslogtreecommitdiffstats
path: root/make-lint
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-12-16 19:04:20 +0100
committerJan Cholasta <jcholast@redhat.com>2015-12-23 07:59:22 +0100
commite1192ebd975bc17aa600030eecbaed6660dc7733 (patch)
tree1a623cb4b003c234beae8075f437b8c936a4fd0f /make-lint
parente4075b1fe26a608cd1f3778ee1f655a5f5700c65 (diff)
downloadfreeipa-e1192ebd975bc17aa600030eecbaed6660dc7733.tar.gz
freeipa-e1192ebd975bc17aa600030eecbaed6660dc7733.tar.xz
freeipa-e1192ebd975bc17aa600030eecbaed6660dc7733.zip
Remove wildcard imports
Wildcard imports should not be used. Check for wildcard imports has been enabled in pylint. Pylint note: options 'wildcard-import' causes too much false positive results, so instead it I used 'unused-wildcard-import' option which has almost the same effect. Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'make-lint')
-rwxr-xr-xmake-lint1
1 files changed, 1 insertions, 0 deletions
diff --git a/make-lint b/make-lint
index 04e985d52..3da9a6879 100755
--- a/make-lint
+++ b/make-lint
@@ -243,6 +243,7 @@ def main():
linter.set_option('enable', 'F')
linter.set_option('enable', 'E')
linter.set_option('enable', 'unused-import')
+ linter.set_option('enable', 'unused-wildcard-import')
linter.set_reporter(TextReporter())
linter.set_option('msg-template',