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

Import directly (no need for conditional) when python_requires = >= 3.8 #12

Closed
todo bot opened this issue Sep 5, 2021 · 0 comments
Closed

Import directly (no need for conditional) when python_requires = >= 3.8 #12

todo bot opened this issue Sep 5, 2021 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented Sep 5, 2021

# TODO: Import directly (no need for conditional) when `python_requires = >= 3.8`
from importlib.metadata import PackageNotFoundError, version # pragma: no cover
else:
from importlib_metadata import PackageNotFoundError, version # pragma: no cover
try:


This issue was generated by todo based on a TODO comment in b358b5e when #10 was merged. cc @dermatologist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant