mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Encode the 'local hooks repo' version into the store
This commit is contained in:
parent
927f471a6c
commit
31ccc19ba3
2 changed files with 4 additions and 1 deletions
|
|
@ -17,6 +17,8 @@ YAML_DUMP_KWARGS = {
|
|||
|
||||
# Bump when installation changes in a backwards / forwards incompatible way
|
||||
INSTALLED_STATE_VERSION = '1'
|
||||
# Bump when modifying `empty_template`
|
||||
LOCAL_REPO_VERSION = '1'
|
||||
|
||||
VERSION = pkg_resources.get_distribution('pre-commit').version
|
||||
VERSION_PARSED = pkg_resources.parse_version(VERSION)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue