D1130: contrib: remove check-code rule about indentation

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Tue Oct 17 07:47:01 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG0b46352384a0: contrib: remove check-code rule about indentation (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1130?vs=2880&id=2896

REVISION DETAIL
  https://phab.mercurial-scm.org/D1130

AFFECTED FILES
  contrib/check-code.py

CHANGE DETAILS

diff --git a/contrib/check-code.py b/contrib/check-code.py
--- a/contrib/check-code.py
+++ b/contrib/check-code.py
@@ -429,7 +429,6 @@
 cpats = [
   [
     (r'//', "don't use //-style comments"),
-    (r'^  ', "don't use spaces to indent"),
     (r'\S\t', "don't use tabs except for indent"),
     (r'(\S[ \t]+|^[ \t]+)\n', "trailing whitespace"),
     (r'.{81}', "line too long"),



To: durin42, #hg-reviewers, ryanmce
Cc: mercurial-devel


More information about the Mercurial-devel mailing list