Skip to content

Commit

Permalink
ignore site-packages pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
bagel897 committed Nov 2, 2023
1 parent 8e09274 commit 5354582
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rope/contrib/autoimport/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def get_files(
else:
assert package.path
for file in package.path.glob("**/*.py"):
if "site-packages" in file.name:
continue
if file.name == "__init__.py":
yield ModuleFile(
file,
Expand Down

0 comments on commit 5354582

Please sign in to comment.