[x] I have added documentation regarding my changes where necessary
[x] Any pre-existing tests continue to pass
[x] Additional tests were made covering my changes
Types of Changes
[x] Bugfix (change that fixes an issue)
[x] New Feature (change that adds functionality)
[ ] Documentation Update (if none of the other choices apply)
Proposed Changes
If you passed the URI app/ with anytree<2.9.0 installed it would raise an IndexError: list index out of range error. This sanitizes that by removing trailing slashes.
Adds a way to easily specify default entry points that get cast to importlib_metadata.EntryPoint when using Site.entry_points_for_group.
Checklist
Types of Changes
Proposed Changes
app/
with anytree<2.9.0 installed it would raise anIndexError: list index out of range
error. This sanitizes that by removing trailing slashes.importlib_metadata.EntryPoint
when usingSite.entry_points_for_group
.