diff --git a/ci/lint-commit-msg.py b/ci/lint-commit-msg.py index 0362915ad8..0754203636 100755 --- a/ci/lint-commit-msg.py +++ b/ci/lint-commit-msg.py @@ -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]) ################################################################################