mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 20:40:08 -06:00
Make Not and NotIn namedtuples
This commit is contained in:
@@ -124,7 +124,7 @@ CONFIG_REPO_DICT = schema.Map(
|
||||
schema.Conditional(
|
||||
'sha', schema.check_string,
|
||||
condition_key='repo',
|
||||
condition_value=schema.NotIn((_LOCAL_SENTINEL, _META_SENTINEL)),
|
||||
condition_value=schema.NotIn(_LOCAL_SENTINEL, _META_SENTINEL),
|
||||
ensure_absent=True,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user