mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
mypy_test: Skip files starting with '.' (#6306)
This commit is contained in:
@@ -318,7 +318,7 @@ def main():
|
||||
supported_versions = parse_versions(os.path.join("stdlib", "VERSIONS"))
|
||||
root = "stdlib"
|
||||
for name in os.listdir(root):
|
||||
if name == "@python2" or name == "VERSIONS":
|
||||
if name == "@python2" or name == "VERSIONS" or name.startswith("."):
|
||||
continue
|
||||
mod, _ = os.path.splitext(name)
|
||||
if supported_versions[mod][0] <= (major, minor) <= supported_versions[mod][1]:
|
||||
|
||||
Reference in New Issue
Block a user