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

Return an empty list by default in pkg_resources.ResourceManager.cleanup_resources #4244

Merged
merged 3 commits into from Mar 5, 2024

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Feb 28, 2024

Summary of changes

Subclasses of are expected to return a list. There's no mention of this method potentially returning None in the docstring. If this is intended, then the docstring should be updated, and the return type be Optional[list[str]]

Work towards #2345 and merging pkg_resources

Pull Request Checklist

Subclasses are expected to return a list. There's no mention of this method potentially returning `None` in the docstring.
@abravalheri abravalheri merged commit ef6c7ab into pypa:main Mar 5, 2024
23 checks passed
@abravalheri
Copy link
Contributor

Thank you very much @Avasam.

@Avasam Avasam deleted the patch-2 branch March 5, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants