diff --git a/ci/lint-commit-msg.py b/ci/lint-commit-msg.py index 7adefb5be3..0362915ad8 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|py): ", body[0]) + return not re.search(r"[a-z0-9]\.([chm]|cpp|swift): ", body[0]) ################################################################################