X7ROOT File Manager
Current Path:
/opt/hc_python/lib/python3.12/site-packages/pre_commit
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pre_commit
/
ðŸ“
..
📄
__init__.py
(0 B)
📄
__main__.py
(127 B)
ðŸ“
__pycache__
📄
all_languages.py
(1.38 KB)
📄
clientlib.py
(14.92 KB)
📄
color.py
(3.14 KB)
ðŸ“
commands
📄
constants.py
(282 B)
📄
envcontext.py
(1.56 KB)
📄
error_handler.py
(2.56 KB)
📄
errors.py
(78 B)
📄
file_lock.py
(2.29 KB)
📄
git.py
(8.32 KB)
📄
hook.py
(1.48 KB)
📄
lang_base.py
(5.12 KB)
ðŸ“
languages
📄
logging_handler.py
(1019 B)
📄
main.py
(15.2 KB)
ðŸ“
meta_hooks
📄
output.py
(911 B)
📄
parse_shebang.py
(2.42 KB)
📄
prefix.py
(495 B)
📄
repository.py
(7.43 KB)
ðŸ“
resources
📄
staged_files_only.py
(4.06 KB)
📄
store.py
(9.17 KB)
📄
util.py
(6.87 KB)
📄
xargs.py
(5.41 KB)
📄
yaml.py
(561 B)
📄
yaml_rewrite.py
(1.31 KB)
Editing: constants.py
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'
Upload File
Create Folder