mirror of
https://github.com/mpv-player/mpv
synced 2025-02-05 14:42:24 +00:00
ci/lint-commit-msg.py: add .rst from allowed extension skips
All .rst files changes are prefixed with DOCS/ so the ext can be skipped.
This commit is contained in:
parent
cd1e44c40b
commit
caeda81bce
@ -106,7 +106,7 @@ def line_too_long(body):
|
||||
"Prefix should not include file extension (use `vo_gpu: ...` not `vo_gpu.c: ...`)",
|
||||
)
|
||||
def no_file_exts(body):
|
||||
return not re.search(r"[a-z0-9]\.([chm]|cpp|swift): ", body[0])
|
||||
return not re.search(r"[a-z0-9]\.([chm]|cpp|swift|rst): ", body[0])
|
||||
|
||||
################################################################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user