8000 Treat packages in `ignored_resources` as non-project files for autoimport purposes by smheidrich · Pull Request #814 · python-rope/rope · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Treat packages in ignored_resources as non-project files for autoimport purposes #814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

smheidrich
Copy link
Contributor
@smheidrich smheidrich commented May 13, 2025

Description

This changes autoimport's logic for determining the "package type" (i.e. part of the project, part of site-packages, ...) so that it treats anything found in the project's ignored_resources folders (which includes folders like .venv by default) as not belonging to the project.

Fixes #813

Checklist (delete if not relevant):

  • I have added tests that prove my fix is effective or that my feature works
  • I have updated CHANGELOG.md
  • I have made corresponding changes to user documentation for new features
    • Not needed
  • I have made corresponding changes to library documentation for API changes
    • Not needed

Sign up for free to 5CB3 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autoimport package source of modules in an in-project .venv folder is wrong determined as PROJECT
1 participant
0