contrib/check-code.py
changeset 28035 c65da6892ae5
parent 28034 e7ff258f71df
child 28050 7e9e39228de6
equal deleted inserted replaced
28034:e7ff258f71df 28035:c65da6892ae5
   178      'use test -f to test for file existence'),
   178      'use test -f to test for file existence'),
   179     (r'^  diff -[^ -]*p',
   179     (r'^  diff -[^ -]*p',
   180      "don't use (external) diff with -p for portability"),
   180      "don't use (external) diff with -p for portability"),
   181     (r'^  [-+][-+][-+] .* [-+]0000 \(glob\)',
   181     (r'^  [-+][-+][-+] .* [-+]0000 \(glob\)',
   182      "glob timezone field in diff output for portability"),
   182      "glob timezone field in diff output for portability"),
       
   183     (r'^  @@ -[0-9]+ [+][0-9]+,[0-9]+ @@',
       
   184      "use '@@ -N* +N,n @@ (glob)' style chunk header for portability"),
       
   185     (r'^  @@ -[0-9]+,[0-9]+ [+][0-9]+ @@',
       
   186      "use '@@ -N,n +N* @@ (glob)' style chunk header for portability"),
       
   187     (r'^  @@ -[0-9]+ [+][0-9]+ @@',
       
   188      "use '@@ -N* +N* @@ (glob)' style chunk header for portability"),
   183   ],
   189   ],
   184   # warnings
   190   # warnings
   185   [
   191   [
   186     (r'^  [^*?/\n]* \(glob\)$',
   192     (r'^  [^*?/\n]* \(glob\)$',
   187      "glob match with no glob character (?*/)"),
   193      "glob match with no glob character (?*/)"),