From cd1e44c40bb8ffeffb2e8264f36390eb011056bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Thu, 30 Jan 2025 17:21:46 +0100 Subject: [PATCH] ci/lint-commit-msg.py: remove .py from allowed extension skips Allow extension skip only on core files c/cpp/h/m/swift, for the rest require ext. --- ci/lint-commit-msg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) ################################################################################