mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-16 18:41:46 +04:00
allow configuration for pre-commit ci
This commit is contained in:
parent
d71699d7cd
commit
308c72f898
1 changed files with 4 additions and 0 deletions
|
|
@ -277,9 +277,13 @@ CONFIG_SCHEMA = cfgv.Map(
|
||||||
'exclude',
|
'exclude',
|
||||||
'fail_fast',
|
'fail_fast',
|
||||||
'minimum_pre_commit_version',
|
'minimum_pre_commit_version',
|
||||||
|
'ci',
|
||||||
),
|
),
|
||||||
warn_unknown_keys_root,
|
warn_unknown_keys_root,
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# do not warn about configuration for pre-commit ci
|
||||||
|
cfgv.OptionalNoDefault('ci', cfgv.check_type(dict)),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue