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:
1 parent
814316fb2a
commit
cd1e44c40b
1 file changed
+1
-1
@@ -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])
|
||||
|
||||
################################################################################
|
||||
|
||||
|
||||
Reference in new issue
Block a user