mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
8 lines
180 B
Python
8 lines
180 B
Python
from __future__ import annotations
|
|
|
|
import pkg_resources
|
|
|
|
try:
|
|
__version__ = pkg_resources.get_distribution('setuptools').version
|
|
except Exception:
|
|
__version__ = 'unknown'
|