-
Notifications
You must be signed in to change notification settings - Fork 53
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
Support for namespace packages #871
Open
tristanlatr
wants to merge
30
commits into
master
Choose a base branch
from
343-support-for-namespace-packages
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 24 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
644e888
Bare bone support for implicit namespace packages.
tristanlatr f594862
Fix a bug/typo and refactors
tristanlatr b972e2d
Add some tests
tristanlatr 6617b54
Stop processing a package tree if it's found to be not added.
tristanlatr b42e700
Simplify building a little bit
tristanlatr 90b3895
Remove some typing
tristanlatr c364a8e
Add issue link to comment
tristanlatr de63830
Merge branch '343-support-for-namespace-packages' of github.com:twist…
tristanlatr 246dd89
Add this file since git doesn't track empty directories
tristanlatr 4e47211
Simplify error
tristanlatr cdf9f2a
Fix some typing and rename
tristanlatr 0d197db
Cleanup dead code and implement rendering of multiple source links fo…
tristanlatr dd89621
Fix the Overloads of _addPackageOrModule
tristanlatr 9a427c0
Fix typing
tristanlatr a1db223
fix mypy
tristanlatr 9964643
Fix mypy
tristanlatr 580af87
Actually test rendering of several source links. Fixes a bug
tristanlatr 296586d
Use tresh=0 for duplicated modules messages
tristanlatr 66e35da
Add support for old school namespace package with extend_path() and d…
tristanlatr db3bc6e
Fix typing of _OldSchoolNamespacePackageVis and support __path__: lis…
tristanlatr e383f5a
Add type ignore
tristanlatr 9c28a31
Log a message when people do dynamic things with extend_path() for in…
tristanlatr da42e28
Add readme entry
tristanlatr 49ee866
Add required exception
tristanlatr 9a99103
Simplify and test is_old_school_namespace_package
tristanlatr 7b2b57b
Show namespace packages just list packages
tristanlatr 6818f69
Generate a descriptive message for namespace packages
tristanlatr b497a93
Improve changelog
tristanlatr a0a8777
Add test cases for better branch coverage
tristanlatr a297e5f
Skip unecessary lower() call
tristanlatr 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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Caching the exception instance is not a good idea because if cycles with locals.
Instead we should cache the exception type and args and re-raise another instance of it when asked again.