Mercurial > public > mercurial-scm > hg-stable
diff contrib/check-code.py @ 28700:35ad5bcdeb7e
py24: remove check-code py24 notation
We require python2.6+
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 30 Mar 2016 07:24:51 +0000 |
parents | adda6dee600e |
children | c042b98a6ff8 |
line wrap: on
line diff
--- a/contrib/check-code.py Wed Mar 30 08:02:34 2016 +0000 +++ b/contrib/check-code.py Wed Mar 30 07:24:51 2016 +0000 @@ -14,7 +14,7 @@ * doublecheck that it is a false match * improve the rule pattern * add an ignore pattern to the rule (3rd arg) which matches your good line - (you can append a short comment and match this, like: #re-raises, # no-py24) + (you can append a short comment and match this, like: #re-raises) * change the pattern to a warning and list the exception in test-check-code-hg * ONLY use no--check-code for skipping entire files from external sources """