##// END OF EJS Templates
check-code: catch unnecessary s.strip().split() calls
Martin Geisler -
r16590:7f76c973 default
parent child Browse files
Show More
@@ -199,6 +199,7 b' pypats = ['
199 "always assign an opened file to a variable, and close it afterwards"),
199 "always assign an opened file to a variable, and close it afterwards"),
200 (r'(?i)descendent', "the proper spelling is descendAnt"),
200 (r'(?i)descendent', "the proper spelling is descendAnt"),
201 (r'\.debug\(\_', "don't mark debug messages for translation"),
201 (r'\.debug\(\_', "don't mark debug messages for translation"),
202 (r'\.strip\(\)\.split\(\)', "no need to strip before splitting"),
202 ],
203 ],
203 # warnings
204 # warnings
204 [
205 [
General Comments 0
You need to be logged in to leave comments. Login now