-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Make --namespace-packages the default #9636
Merged
Merged
Changes from 10 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6a993c5
Make --namespace-packages the default
088990d
allow cache metadata to point to directory
b524c66
Merge remote-tracking branch 'upstream/master' into nspcdef
1f2891b
add exclude rule
e38bb15
Merge remote-tracking branch 'upstream/master' into nspcdef
9d06c8b
doc link
73a888d
Merge remote-tracking branch 'upstream/master' into nspcdef
f6f90ab
Merge remote-tracking branch 'upstream/master' into nspcdef
a53c769
Merge remote-tracking branch 'upstream/master' into nspcdef
07229e2
Merge branch 'master' into nspcdef
97littleleaf11 cb8f2aa
update docs
aabae70
more docs
e781ae7
more docs
3199da0
Merge branch 'master' into nspcdef
hauntsaninja 8ddd728
Merge remote-tracking branch 'origin/master' into nspcdef
c6d5e00
Merge commit '5718dfff7' into nspcdef
hauntsaninja 3dd3f11
Merge remote-tracking branch 'origin/master' into nspcdef
hauntsaninja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -516,7 +516,7 @@ def add_invertible_flag(flag: str, | |
title='Import discovery', | ||
description="Configure how imports are discovered and followed.") | ||
add_invertible_flag( | ||
'--namespace-packages', default=False, | ||
'--no-namespace-packages', dest="namespace_packages", default=True, | ||
help="Support namespace packages (PEP 420, __init__.py-less)", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, updated! |
||
group=imports_group) | ||
imports_group.add_argument( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems unrelated? Useful - but not related.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there was a change here that was needed, but then got merged in another PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah - I think remove this from this commit/PR before landing.
Better to keep the diff scoped to what's necessary.