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