mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Introduce .pre-commit-hooks.yaml as a replacement for hooks.yaml
This commit is contained in:
parent
b90a598fac
commit
b9e5184ebd
32 changed files with 107 additions and 21 deletions
|
|
@ -3,7 +3,9 @@ from __future__ import unicode_literals
|
|||
|
||||
CONFIG_FILE = '.pre-commit-config.yaml'
|
||||
|
||||
MANIFEST_FILE = 'hooks.yaml'
|
||||
# In 0.12.0, the default file was changed to be namespaced
|
||||
MANIFEST_FILE = '.pre-commit-hooks.yaml'
|
||||
MANIFEST_FILE_LEGACY = 'hooks.yaml'
|
||||
|
||||
YAML_DUMP_KWARGS = {
|
||||
'default_flow_style': False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue