mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Remove legacy 'hooks.yaml' file support
This commit is contained in:
parent
7aeb4fe0f7
commit
86d9ca053b
8 changed files with 3 additions and 76 deletions
|
|
@ -3,10 +3,7 @@ from __future__ import unicode_literals
|
|||
import pkg_resources
|
||||
|
||||
CONFIG_FILE = '.pre-commit-config.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