Show More
@@ -444,6 +444,17 b' webtemplatepats = [' | |||
|
444 | 444 | ] |
|
445 | 445 | ] |
|
446 | 446 | |
|
447 | allfilesfilters = [] | |
|
448 | ||
|
449 | allfilespats = [ | |
|
450 | [ | |
|
451 | (r'(http|https)://[a-zA-Z0-9./]*selenic.com/', | |
|
452 | 'use mercurial-scm.org domain URL'), | |
|
453 | ], | |
|
454 | # warnings | |
|
455 | [], | |
|
456 | ] | |
|
457 | ||
|
447 | 458 | checks = [ |
|
448 | 459 | ('python', r'.*\.(py|cgi)$', r'^#!.*python', pyfilters, pypats), |
|
449 | 460 | ('test script', r'(.*/)?test-[^.~]*$', '', testfilters, testpats), |
@@ -456,6 +467,8 b' checks = [' | |||
|
456 | 467 | ('txt', r'.*\.txt$', '', txtfilters, txtpats), |
|
457 | 468 | ('web template', r'mercurial/templates/.*\.tmpl', '', |
|
458 | 469 | webtemplatefilters, webtemplatepats), |
|
470 | ('all except for .po', r'.*(?<!\.po)$', '', | |
|
471 | allfilesfilters, allfilespats), | |
|
459 | 472 | ] |
|
460 | 473 | |
|
461 | 474 | def _preparepats(): |
General Comments 0
You need to be logged in to leave comments.
Login now