D1114: contrib: remove check-code rule about indentation
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Oct 16 21:46:17 EDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG6aeb3d69e16b: contrib: remove check-code rule about indentation (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1114?vs=2822&id=2855
REVISION DETAIL
https://phab.mercurial-scm.org/D1114
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
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list