diff options
author | Martin Basti <mbasti@redhat.com> | 2015-12-16 16:06:03 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-12-23 07:59:22 +0100 |
commit | e4075b1fe26a608cd1f3778ee1f655a5f5700c65 (patch) | |
tree | 11529085e2b884007068a14ea1fa3ed33d62103c /make-lint | |
parent | 774d0eaa8eb940ea9c42c4ef12eb80e509fd9c3b (diff) | |
download | freeipa-e4075b1fe26a608cd1f3778ee1f655a5f5700c65.tar.gz freeipa-e4075b1fe26a608cd1f3778ee1f655a5f5700c65.tar.xz freeipa-e4075b1fe26a608cd1f3778ee1f655a5f5700c65.zip |
Remove unused imports
This patch removes unused imports, alse pylint has been configured to
check unused imports.
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'make-lint')
-rwxr-xr-x | make-lint | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -239,8 +239,11 @@ def main(): linter.register_checker(IPATypeChecker(linter)) if options.errors_only: - linter.disable_noerror_messages() - linter.enable('F') + linter.set_option('disable', 'all') + linter.set_option('enable', 'F') + linter.set_option('enable', 'E') + linter.set_option('enable', 'unused-import') + linter.set_reporter(TextReporter()) linter.set_option('msg-template', '{path}:{line}: [{msg_id}({symbol}), {obj}] {msg})') |