Skip to content

Commit d212f5f

Browse files
committed
ensure alias is checked as a string
1 parent da8ca78 commit d212f5f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pre_commit_ci_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def check(self, dct: dict[str, Any]) -> None:
4848
'Hook', 'id',
4949

5050
cfgv.Required('id', cfgv.check_string),
51+
cfgv.OptionalNoDefault('alias', cfgv.check_string),
5152
)
5253

5354
CONFIG_REPO_DICT = cfgv.Map(

0 commit comments

Comments
 (0)