Show More
@@ -74,7 +74,7 b' testpats = [' | |||||
74 | (r'/dev/u?random', "don't use entropy, use /dev/zero"), |
|
74 | (r'/dev/u?random', "don't use entropy, use /dev/zero"), | |
75 | (r'do\s*true;\s*done', "don't use true as loop body, use sleep 0"), |
|
75 | (r'do\s*true;\s*done', "don't use true as loop body, use sleep 0"), | |
76 | (r'^( *)\t', "don't use tabs to indent"), |
|
76 | (r'^( *)\t', "don't use tabs to indent"), | |
77 |
(r'sed |
|
77 | (r'sed (-e )?\'(\d+|/[^/]*/)i(?!\\\n)', | |
78 | "put a backslash-escaped newline after sed 'i' command"), |
|
78 | "put a backslash-escaped newline after sed 'i' command"), | |
79 | ], |
|
79 | ], | |
80 | # warnings |
|
80 | # warnings |
General Comments 0
You need to be logged in to leave comments.
Login now