Replace string literals with constants

This commit is contained in:
Iulian Onofrei 2018-01-09 17:51:41 +02:00
parent a5f3cefb64
commit 8407b92b18
4 changed files with 9 additions and 8 deletions

View file

@ -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),
},