##// END OF EJS Templates
check-code: forbid platform.system()...
Jun Wu -
r34643:a679aa58 default
parent child Browse files
Show More
@@ -362,6 +362,7 b' pypats = ['
362 (r'\.next\(\)', "don't use .next(), use next(...)"),
362 (r'\.next\(\)', "don't use .next(), use next(...)"),
363 (r'([a-z]*).revision\(\1\.node\(',
363 (r'([a-z]*).revision\(\1\.node\(',
364 "don't convert rev to node before passing to revision(nodeorrev)"),
364 "don't convert rev to node before passing to revision(nodeorrev)"),
365 (r'platform\.system\(\)', "don't use platform.system(), use pycompat"),
365
366
366 # rules depending on implementation of repquote()
367 # rules depending on implementation of repquote()
367 (r' x+[xpqo%APM][\'"]\n\s+[\'"]x',
368 (r' x+[xpqo%APM][\'"]\n\s+[\'"]x',
General Comments 0
You need to be logged in to leave comments. Login now