Show More
@@ -177,7 +177,7 cpats = [ | |||||
177 | (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), |
|
177 | (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), | |
178 | (r'\S+ (\+\+|--)', "use foo++, not foo ++"), |
|
178 | (r'\S+ (\+\+|--)', "use foo++, not foo ++"), | |
179 | (r'\w,\w', "missing whitespace after ,"), |
|
179 | (r'\w,\w', "missing whitespace after ,"), | |
180 | (r'\w[+/*]\w', "missing whitespace in expression"), |
|
180 | (r'^[^#]\w[+/*]\w', "missing whitespace in expression"), | |
181 | (r'^#\s+\w', "use #foo, not # foo"), |
|
181 | (r'^#\s+\w', "use #foo, not # foo"), | |
182 | (r'[^\n]\Z', "no trailing newline"), |
|
182 | (r'[^\n]\Z', "no trailing newline"), | |
183 | ] |
|
183 | ] |
General Comments 0
You need to be logged in to leave comments.
Login now