mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 05:58:25 +00:00
find_add_class: Don't check frontend tests.
This commit is contained in:
@@ -73,6 +73,10 @@ def find(fns):
|
|||||||
encountered = set() # type: Set[str]
|
encountered = set() # type: Set[str]
|
||||||
tups = [] # type: List[Tuple[str, str]]
|
tups = [] # type: List[Tuple[str, str]]
|
||||||
for full_fn in fns:
|
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))
|
lines = list(open(full_fn))
|
||||||
fn = os.path.basename(full_fn)
|
fn = os.path.basename(full_fn)
|
||||||
module_classes = set() # type: Set[str]
|
module_classes = set() # type: Set[str]
|
||||||
|
|||||||
Reference in New Issue
Block a user