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

Pass mypy and link issues #19

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Aug 25, 2024

Comment on lines +8 to +11
if sys.version_info >= (3, 9):
from importlib.resources import files
else: # pragma: nocover
from importlib_resources import files
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Historically, I've been resistant to using this logic, because it feels like using a secondary signal. And typically, I'm averse to changing logic to accommodate types. In this case, I'm happy to follow the popular convention. Thanks!

@jaraco jaraco merged commit 2c72e5e into jaraco:main Aug 29, 2024
14 checks passed
@Avasam Avasam deleted the Pass-mypy-and-link-issues branch August 29, 2024 15:52
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.

2 participants