mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-18 11:31:46 +04:00
First pass at adding a hook selector for files that contain a given string
This commit is contained in:
parent
6872289f1a
commit
82e1768656
6 changed files with 38 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ class Hook(NamedTuple):
|
|||
language: str
|
||||
alias: str
|
||||
files: str
|
||||
files_contain: str
|
||||
exclude: str
|
||||
types: Sequence[str]
|
||||
types_or: Sequence[str]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue