check-commit: spot growing whitespace
We discourage PEP-8-style double blank lines, spot them creeping in.
--- a/contrib/check-commit Thu Jul 24 15:06:08 2014 -0400
+++ b/contrib/check-commit Thu Aug 07 14:57:20 2014 -0500
@@ -27,6 +27,7 @@
(r"^# .*\n[A-Z][a-z]\S+", "don't capitalize summary lines"),
(r"^# .*\n.*\.\s+$", "don't add trailing period on summary line"),
(r"^# .*\n.{78,}", "summary line too long"),
+ (r"^\+\n \n", "adds double empty line"),
(r"\+\s+def [a-z]+_[a-z]", "adds a function with foo_bar naming"),
]