Add a new script to generate builtin module names (#12696)

This commit is contained in:
Alex Waygood 2024-08-05 21:33:36 +01:00 committed by GitHub
parent 2393d19f91
commit 7ee7c68f36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 198 additions and 50 deletions

View file

@ -4,7 +4,7 @@ from pathlib import Path
from stdlibs import stdlib_module_names
PATH = Path("crates") / "ruff_python_stdlib" / "src" / "sys.rs"
PATH = Path("crates") / "ruff_python_stdlib" / "src" / "sys" / "known_stdlib.rs"
VERSIONS: list[tuple[int, int]] = [
(3, 7),
(3, 8),