Open dotysan opened 7 months ago
Easy workaround, add setuptools to additional_dependencies
- repo: https://github.com/landscapeio/prospector
rev: v1.10.3
hooks:
- id: prospector
additional_dependencies: ["setuptools"]
Shouldn't we use import lib? https://docs.python.org/3/library/importlib.html
On Python 3.12, one cannot assume setuptools is available. https://github.com/python/cpython/issues/95299
Workaround: