changeset 40308:47084b5ffd80

style: drop requirement to only use single lines between top-level objects Differential Revision: https://phab.mercurial-scm.org/D5105
author Martijn Pieters <mj@octobus.net>
date Sun, 14 Oct 2018 15:40:16 +0200
parents 43f0a37bd9ed
children 1bd3e922de18
files contrib/check-commit
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/check-commit	Sun Oct 14 13:05:53 2018 -0400
+++ b/contrib/check-commit	Sun Oct 14 15:40:16 2018 +0200
@@ -39,8 +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)"),
-    (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