[Updated] D10994: check-code: stop forbidding return code result
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Tue Jul 6 14:36:00 UTC 2021
Closed by commit rHG9b1710c50230: check-code: stop forbidding return code result (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10994?vs=28827&id=28835
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10994/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10994
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
@@ -215,7 +215,6 @@
"use regex test output patterns instead of sed",
),
(uprefix + r'(true|exit 0)', "explicit zero exit unnecessary"),
- (uprefix + r'.*(?<!\[)\$\?', "explicit exit code checks unnecessary"),
(
uprefix + r'.*\|\| echo.*(fail|error)',
"explicit exit code checks unnecessary",
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210706/367637a5/attachment-0002.html>
More information about the Mercurial-patches
mailing list