Show More
@@ -237,6 +237,15 pyfilters = [ | |||
|
237 | 237 | (?P=quote))""", reppython), |
|
238 | 238 | ] |
|
239 | 239 | |
|
240 | txtfilters = [] | |
|
241 | ||
|
242 | txtpats = [ | |
|
243 | [ | |
|
244 | ('\s$', 'trailing whitespace'), | |
|
245 | ], | |
|
246 | [] | |
|
247 | ] | |
|
248 | ||
|
240 | 249 | cpats = [ |
|
241 | 250 | [ |
|
242 | 251 | (r'//', "don't use //-style comments"), |
@@ -292,6 +301,7 checks = [ | |||
|
292 | 301 | inrevlogpats), |
|
293 | 302 | ('layering violation ui in util', r'mercurial/util\.py', pyfilters, |
|
294 | 303 | inutilpats), |
|
304 | ('txt', r'.*\.txt$', txtfilters, txtpats), | |
|
295 | 305 | ] |
|
296 | 306 | |
|
297 | 307 | class norepeatlogger(object): |
General Comments 0
You need to be logged in to leave comments.
Login now