Skip to content

Commit

Permalink
Update to use imp.standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 31, 2024
1 parent d52d03b commit b702a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def inferred_deps():
(imp.relative_to(best_name()), module)
for module in filter(is_python, source_files())
for imp in imports.get_module_imports(module)
if not imp.builtin()
if not imp.standard()
and not imp.relative_to(best_name()).startswith(best_name())
]
for name, module in names:
Expand Down

0 comments on commit b702a91

Please sign in to comment.