]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
misc/coding_tools/check-interfaces.py: reduce false-positives by adding Dummy* to...
authordavid-sarah <david-sarah@jacaranda.org>
Fri, 16 Sep 2011 21:26:24 +0000 (14:26 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Fri, 16 Sep 2011 21:26:24 +0000 (14:26 -0700)
misc/coding_tools/check-interfaces.py

index 2a22cffc984363fc4fe0a818267fe27909c39f1b..c5dbf246992b6a29903b4b3850703bcdbc447ed7 100644 (file)
@@ -12,8 +12,8 @@ from zope.interface.advice import addClassAdvisor
 
 
 interesting_modules = re.compile(r'(allmydata)|(foolscap)\..*')
-excluded_classnames = re.compile(r'(_)|(Mock)|(Fake).*')
-excluded_file_basenames = re.compile(r'check_.*')
+excluded_classnames = re.compile(r'(_)|(Mock)|(Fake)|(Dummy).*')
+excluded_file_basenames = re.compile(r'(check)|(bench)_.*')
 
 
 other_modules_with_violations = set()