Skip to content
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

use different default package index depth when requirement/pyproject.toml exists. #6831

Open
heejaechang opened this issue Jan 8, 2025 · 0 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@heejaechang
Copy link
Contributor

heejaechang commented Jan 8, 2025

Currently, in language server mode's default or full mode, Pylance doesn't treat packages listed in requirements or pyproject differently.

When direct dependencies are explicitly listed in requirements or pyproject, it would be nice for those packages to have deeper index depth by default, since Pylance no longer needs to worry about the issue of distinguishing direct dependencies from transitive dependencies.

Especially for default mode.

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

2 participants