From d131efcaa0479629bb01f20194cdb93135a35a48 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 15 Sep 2016 16:20:14 -0700 Subject: [PATCH] Skip "module" whose name starts with ".". --- tests/mypy_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mypy_test.py b/tests/mypy_test.py index 55f0f45c2..da313ec5a 100755 --- a/tests/mypy_test.py +++ b/tests/mypy_test.py @@ -102,7 +102,7 @@ def main(): for name in names: full = os.path.join(root, name) mod, ext = os.path.splitext(name) - if mod in seen: + if mod in seen or mod.startswith('.'): continue if ext in ['.pyi', '.py']: if match(full, args, blacklist):