Skip to content

Commit

Permalink
wildcard import comment
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Dec 17, 2024
1 parent 5077604 commit 0af6ff1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions get_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ def get_libs_for_project(project_name):
if cur_lib in bundle_data or cur_lib in community_bundle_data:
found_libs.add(cur_lib)

# check if it's a wildcard import e.g.
# from module.submodule import *
# findimports returns import name in the form of ``foo.bar.*``
if cur_import.name.endswith(".*"):
filepath = os.path.join(
project_dir,
Expand Down

0 comments on commit 0af6ff1

Please sign in to comment.