##// END OF EJS Templates
check-code: ban use of bare xrange()...
Gregory Szorc -
r38807:882ef694 default
parent child Browse files
Show More
@@ -511,6 +511,7 b' py3pats = ['
511 (r'getopt\.getopt', "use pycompat.getoptb instead (py3)"),
511 (r'getopt\.getopt', "use pycompat.getoptb instead (py3)"),
512 (r'os\.getenv', "use encoding.environ.get instead"),
512 (r'os\.getenv', "use encoding.environ.get instead"),
513 (r'os\.setenv', "modifying the environ dict is not preferred"),
513 (r'os\.setenv', "modifying the environ dict is not preferred"),
514 (r'(?<!pycompat\.)xrange', "use pycompat.xrange instead (py3)"),
514 ],
515 ],
515 # warnings
516 # warnings
516 [],
517 [],
General Comments 0
You need to be logged in to leave comments. Login now