From f1445ce0b2c347b2618516af111d066f141b1488 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Fri, 16 Sep 2011 14:26:24 -0700 Subject: [PATCH] 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 --- misc/coding_tools/check-interfaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.37.2