Commit 8ff1e6fd authored by Jérome Perrin's avatar Jérome Perrin

keep ignoring unused imports to have same behavior

parent 51e729e4
...@@ -29,7 +29,9 @@ except ImportError: ...@@ -29,7 +29,9 @@ except ImportError:
def begin_transaction(): def begin_transaction():
get_transaction().begin() get_transaction().begin()
ignored_messages = (messages.ReturnOutsideFunction, ) ignored_messages = (
messages.UnusedImport,
messages.ReturnOutsideFunction, )
def check(codeString, filename, bound_names=()): def check(codeString, filename, bound_names=()):
bound_names = [n for n in bound_names if not hasattr(__builtin__, n)] bound_names = [n for n in bound_names if not hasattr(__builtin__, n)]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment