find_add_class: Don't check frontend tests.

This commit is contained in:
Tim Abbott
2017-08-27 14:04:35 -07:00
parent ce1a8bf5b2
commit 90012f8109

View File

@@ -73,6 +73,10 @@ def find(fns):
encountered = set() # type: Set[str]
tups = [] # type: List[Tuple[str, str]]
for full_fn in fns:
# Don't check frontend tests, since they may do all sorts of
# extra hackery that isn't of interest to us.
if full_fn.startswith("frontend_tests"):
continue
lines = list(open(full_fn))
fn = os.path.basename(full_fn)
module_classes = set() # type: Set[str]