unioslo / harborapi

Python async client for the Harbor REST API v2.0.
https://unioslo.github.io/harborapi/
MIT License
28 stars 6 forks source link

models.base should use `importlib.util.find_spec` to determine import availability #63

Closed pederhan closed 1 year ago

pederhan commented 1 year ago

https://docs.astral.sh/ruff/rules/unused-import/

pederhan commented 1 year ago

Actually nah, this will not lead to fewer lines of code or simpler code. Pointless.