Fix an issue with raise statements in the linter.
This commit is contained in:
1 parent
eecae7dd38
commit
e7528198d3
3 files changed
+11
-8
No files matched your search
@@ -536,7 +536,7 @@ class Script(object):
|
||||
|
||||
#statements = set(chain(*self._parser.module().used_names.values()))
|
||||
nodes, imp_names, decorated_funcs = \
|
||||
analysis.get_module_statements(self._parser.module())
|
||||
analysis.get_executable_nodes(self._parser.module())
|
||||
# Sort the statements so that the results are reproducible.
|
||||
for n in imp_names:
|
||||
imports.ImportWrapper(self._evaluator, n).follow()
|
||||
|
||||
Reference in new issue
Block a user