PATH:
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pre_commit
/
commands
from __future__ import annotations from collections.abc import Sequence from pre_commit import clientlib def validate_config(filenames: Sequence[str]) -> int: ret = 0 for filename in filenames: try: clientlib.load_config(filename) except clientlib.InvalidConfigError as e: print(e) ret = 1 return ret
[-] validate_config.py
[edit]
[+]
__pycache__
[-] autoupdate.py
[edit]
[-] migrate_config.py
[edit]
[-] __init__.py
[edit]
[-] sample_config.py
[edit]
[-] gc.py
[edit]
[-] hazmat.py
[edit]
[-] validate_manifest.py
[edit]
[-] try_repo.py
[edit]
[-] run.py
[edit]
[-] init_templatedir.py
[edit]
[-] clean.py
[edit]
[+]
..
[-] hook_impl.py
[edit]
[-] install_uninstall.py
[edit]