From: david-sarah Date: Fri, 16 Sep 2011 21:26:24 +0000 (-0700) Subject: misc/coding_tools/check-interfaces.py: reduce false-positives by adding Dummy* to... X-Git-Tag: allmydata-tahoe-1.9.0a2~13 X-Git-Url: https://git.rkrishnan.org/pf/content/en/nxhtml.html?a=commitdiff_plain;h=f1445ce0b2c347b2618516af111d066f141b1488;p=tahoe-lafs%2Ftahoe-lafs.git misc/coding_tools/check-interfaces.py: reduce false-positives by adding Dummy* to the set of excluded classnames, and bench-* to the set of excluded basenames. refs #1474 --- diff --git a/misc/coding_tools/check-interfaces.py b/misc/coding_tools/check-interfaces.py index 2a22cffc..c5dbf246 100644 --- a/misc/coding_tools/check-interfaces.py +++ b/misc/coding_tools/check-interfaces.py @@ -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()