mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Some minor constants cleanup
This commit is contained in:
parent
b32facc5b3
commit
109c17c5df
3 changed files with 15 additions and 15 deletions
|
|
@ -1,5 +1,6 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import pkg_resources
|
||||
|
||||
CONFIG_FILE = '.pre-commit-config.yaml'
|
||||
|
||||
|
|
@ -13,3 +14,9 @@ YAML_DUMP_KWARGS = {
|
|||
'encoding': None,
|
||||
'indent': 4,
|
||||
}
|
||||
|
||||
# Bump when installation changes in a backwards / forwards incompatible way
|
||||
INSTALLED_STATE_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