# HG changeset patch # User Martijn Pieters # Date 2018-10-14 13:40:16 # Node ID 47084b5ffd80bb83944194ac8fc3fac5d0a8cc24 # Parent 43f0a37bd9ed20b45d73f667acbb0c3035492e1a style: drop requirement to only use single lines between top-level objects Differential Revision: https://phab.mercurial-scm.org/D5105 diff --git a/contrib/check-commit b/contrib/check-commit --- a/contrib/check-commit +++ b/contrib/check-commit @@ -39,8 +39,6 @@ errors = [ "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)"), - (r"\n\+\n( |\+)\n", "adds double empty line"), - (r"\n \n\+\n", "adds double empty line"), # Forbid "_" in function name. # # We skip the check for cffi related functions. They use names mapping the