mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Refactor pre_commit.repository and factor out cached-property
This commit is contained in:
parent
7448e588ff
commit
c577ed92e7
14 changed files with 390 additions and 446 deletions
|
|
@ -1,6 +1,15 @@
|
|||
import sys
|
||||
|
||||
from pre_commit import output
|
||||
from pre_commit.meta_hooks.helpers import make_meta_entry
|
||||
|
||||
HOOK_DICT = {
|
||||
'id': 'identity',
|
||||
'name': 'identity',
|
||||
'language': 'system',
|
||||
'verbose': True,
|
||||
'entry': make_meta_entry(__name__),
|
||||
}
|
||||
|
||||
|
||||
def main(argv=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue