File: constants.py

package info (click to toggle)
pre-commit 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,420 kB
  • sloc: python: 14,016; sh: 87; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
from __future__ import annotations

import importlib.metadata

CONFIG_FILE = '.pre-commit-config.yaml'
MANIFEST_FILE = '.pre-commit-hooks.yaml'

# Bump when modifying `empty_template`
LOCAL_REPO_VERSION = '1'

VERSION = importlib.metadata.version('pre_commit')

DEFAULT = 'default'