diff options
author | Martin Basti <mbasti@redhat.com> | 2015-12-16 19:04:20 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-12-23 07:59:22 +0100 |
commit | e1192ebd975bc17aa600030eecbaed6660dc7733 (patch) | |
tree | 1a623cb4b003c234beae8075f437b8c936a4fd0f /make-lint | |
parent | e4075b1fe26a608cd1f3778ee1f655a5f5700c65 (diff) | |
download | freeipa-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-x | make-lint | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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', |