Patchwork D1130: contrib: remove check-code rule about indentation

login
register
mail settings
Submitter phabricator
Date Oct. 17, 2017, 11:47 a.m.
Message ID <d39af68ceda2eead488a51d61a2c901e@localhost.localdomain>
Download mbox | patch
Permalink /patch/25081/
State Not Applicable
Headers show

Comments

phabricator - Oct. 17, 2017, 11:47 a.m.
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




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

Patch

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"),