mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-04 16:04:30 -06:00
Add manifest file.
This commit is contained in:
8
manifest.yaml
Normal file
8
manifest.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
hooks:
|
||||
-
|
||||
id: validate_manifest
|
||||
name: Validate Manifest
|
||||
description: This validator validates a pre-commit hooks manifest file
|
||||
entry: validate-manifest
|
||||
language: python
|
||||
@@ -61,8 +61,8 @@ validate_manifest = get_validator(
|
||||
def run(argv):
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument(
|
||||
'--filename',
|
||||
required=False, default=None,
|
||||
'filename',
|
||||
nargs='?', default=None,
|
||||
help='Manifest filename. Defaults to {0} at root of git repo'.format(
|
||||
C.MANIFEST_FILE,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user