contrib/check-commit
changeset 43112 24a07347aa60
parent 41539 45a4789d3ff2
child 43659 99e231afc29c
--- a/contrib/check-commit	Tue Oct 08 13:38:02 2019 -0400
+++ b/contrib/check-commit	Fri Feb 02 10:13:42 2018 -0800
@@ -39,12 +39,6 @@
      "summary keyword should be most user-relevant one-word command or topic"),
     (afterheader + r".*\.\s*\n", "don't add trailing period on summary line"),
     (afterheader + r".{79,}", "summary line too long (limit is 78)"),
-    # Forbid "_" in function name.
-    #
-    # We skip the check for cffi related functions. They use names mapping the
-    # name of the C function. C function names may contain "_".
-    (r"\n\+[ \t]+def (?!cffi)[a-z]+_[a-z]",
-     "adds a function with foo_bar naming"),
 ]
 
 word = re.compile(r'\S')