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):