8000 mypy_test: Skip files starting with '.' (#6306) · python/typeshed@bcc743d · GitHub
[go: up one dir, main page]

Skip to content

Commit bcc743d

Browse files
authored
mypy_test: Skip files starting with '.' (#6306)
1 parent 1274445 commit bcc743d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mypy_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def main():
318318
supported_versions = parse_versions(os.path.join("stdlib", "VERSIONS"))
319319
root = "stdlib"
320320
for name in os.listdir(root):
321-
if name == "@python2" or name == "VERSIONS":
321+
if name == "@python2" or name == "VERSIONS" or name.startswith("."):
322322
continue
323323
mod, _ = os.path.splitext(name)
324324
if supported_versions[mod][0] <= (major, minor) <= supported_versions[mod][1]:

0 commit comments

Comments
 (0)
0