equal
deleted
inserted
replaced
27 (r"^# .*\n[A-Z][a-z]\S+", "don't capitalize summary lines"), |
27 (r"^# .*\n[A-Z][a-z]\S+", "don't capitalize summary lines"), |
28 (r"^# .*\n[^\n]*: *[A-Z][a-z]\S+", "don't capitalize summary lines"), |
28 (r"^# .*\n[^\n]*: *[A-Z][a-z]\S+", "don't capitalize summary lines"), |
29 (r"^# .*\n.*\.\s+$", "don't add trailing period on summary line"), |
29 (r"^# .*\n.*\.\s+$", "don't add trailing period on summary line"), |
30 (r"^# .*\n.{78,}", "summary line too long (limit is 78)"), |
30 (r"^# .*\n.{78,}", "summary line too long (limit is 78)"), |
31 (r"^\+\n \n", "adds double empty line"), |
31 (r"^\+\n \n", "adds double empty line"), |
32 (r"\+\s+def [a-z]+_[a-z]", "adds a function with foo_bar naming"), |
32 (r"^\+[ \t]+def [a-z]+_[a-z]", "adds a function with foo_bar naming"), |
33 ] |
33 ] |
34 |
34 |
35 node = os.environ.get("HG_NODE") |
35 node = os.environ.get("HG_NODE") |
36 |
36 |
37 if node: |
37 if node: |