Skip to content

Commit 5075364

Browse files
committed
Rely on coherent.deps.imports.Import.excluded.
Fixes coherent-oss/coherent.deps#8 and requires coherent.deps 0.4.
1 parent 40ce897 commit 5075364

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discovery.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def inferred_deps():
170170
types.SimpleNamespace(name=imp.relative_to(base(module)), module=module)
171171
for module in filter(is_python, source_files())
172172
for imp in imports.get_module_imports(module)
173-
if not imp.standard()
173+
if not imp.excluded()
174174
)
175175
for imp in itertools.filterfalse(is_local, imps):
176176
# TODO(#30): Handle resolution errors gracefully

0 commit comments

Comments
 (0)