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.
This commit is contained in:
Kacper Michajłow committed 2025-01-30 19:34:31 +01:00
1 parent 814316fb2a
commit cd1e44c40b
1 file changed
+1 -1
+1 -1
View File
@@ -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])
################################################################################