Skip to content

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 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