mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46:54 +00:00
6 lines
144 B
Python
6 lines
144 B
Python
import pkg_resources
|
|
|
|
try:
|
|
__version__ = pkg_resources.get_distribution('setuptools').version
|
|
except Exception:
|
|
__version__ = 'unknown'
|