mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
remove pre-commit-validate-config and pre-commit-validate-manifest
This commit is contained in:
parent
12a979ea75
commit
4a50859936
7 changed files with 88 additions and 121 deletions
|
|
@ -1,9 +1,11 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from typing import Sequence
|
||||
|
||||
from pre_commit import clientlib
|
||||
|
||||
|
||||
def validate_config(filenames: list[str]) -> int:
|
||||
def validate_config(filenames: Sequence[str]) -> int:
|
||||
ret = 0
|
||||
|
||||
for filename in filenames:
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from typing import Sequence
|
||||
|
||||
from pre_commit import clientlib
|
||||
|
||||
|
||||
def validate_manifest(filenames: list[str]) -> int:
|
||||
def validate_manifest(filenames: Sequence[str]) -> int:
|
||||
ret = 0
|
||||
|
||||
for filename in filenames:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue