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

Automatically check for a `src` directory in the workspace root #1522

Merged
merged 8 commits into from Sep 11, 2019

Conversation

@jakebailey
Copy link
Member

commented Sep 5, 2019

Fixes #1440.

Very basic implementation - if there's a top level src directory that doesn't contain a __init__.py file, then add it as an import root. This heuristic can be disabled by setting python.analysis.autoSearchPaths to false.

@jakebailey jakebailey changed the title [WIP] Automatically check for a `src` directory in the workspace root Automatically check for a `src` directory in the workspace root Sep 9, 2019

jakebailey added 2 commits Sep 11, 2019

@jakebailey jakebailey merged commit 7577bfd into microsoft:master Sep 11, 2019

1 check passed

license/cla All CLA requirements met.
Details

@jakebailey jakebailey deleted the jakebailey:auto-search-paths branch Sep 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.