Show More
@@ -288,6 +288,7 b' pypats = [' | |||
|
288 | 288 | (r'\b__bool__\b', "__bool__ should be __nonzero__ in Python 2"), |
|
289 | 289 | (r'os\.path\.join\(.*, *(""|\'\')\)', |
|
290 | 290 | "use pathutil.normasprefix(path) instead of os.path.join(path, '')"), |
|
291 | (r'\s0[0-7]+\b', 'legacy octal syntax; use "0o" prefix instead of "0"'), | |
|
291 | 292 | ], |
|
292 | 293 | # warnings |
|
293 | 294 | [ |
General Comments 0
You need to be logged in to leave comments.
Login now