mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Replace string literals with constants
This commit is contained in:
parent
a5f3cefb64
commit
8407b92b18
4 changed files with 9 additions and 8 deletions
|
|
@ -269,14 +269,14 @@ class MetaRepository(LocalRepository):
|
|||
{
|
||||
'id': 'check-hooks-apply',
|
||||
'name': 'Check hooks apply to the repository',
|
||||
'files': '.pre-commit-config.yaml',
|
||||
'files': C.CONFIG_FILE,
|
||||
'language': 'system',
|
||||
'entry': _make_entry(check_hooks_apply),
|
||||
},
|
||||
{
|
||||
'id': 'check-useless-excludes',
|
||||
'name': 'Check for useless excludes',
|
||||
'files': '.pre-commit-config.yaml',
|
||||
'files': C.CONFIG_FILE,
|
||||
'language': 'system',
|
||||
'entry': _make_entry(check_useless_excludes),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue