contrib/check-code.py
branchstable
changeset 47879 b84fe613de33
parent 47851 142a76127e3a
child 48961 df56e6bd37f6
--- a/contrib/check-code.py	Fri Sep 17 14:05:56 2021 +0200
+++ b/contrib/check-code.py	Fri Sep 17 21:04:17 2021 +0200
@@ -195,7 +195,7 @@
     [
         (r'^function', "don't use 'function', use old style"),
         (r'^diff.*-\w*N', "don't use 'diff -N'"),
-        (r'\$PWD|\${PWD}', "don't use $PWD, use `pwd`"),
+        (r'\$PWD|\${PWD}', "don't use $PWD, use `pwd`", "no-pwd-check"),
         (r'^([^"\'\n]|("[^"\n]*")|(\'[^\'\n]*\'))*\^', "^ must be quoted"),
         (r'kill (`|\$\()', "don't use kill, use killdaemons.py"),
     ],