From 56dc8ff9983b5626e63d80d7c297232aa489481f Mon Sep 17 00:00:00 2001 From: Joren Hammudoglu Date: Thu, 17 Oct 2024 20:07:34 +0200 Subject: [PATCH] `libcst.tool`: support Python 3.9 - 3.13 --- libcst/_parser/types/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcst/_parser/types/config.py b/libcst/_parser/types/config.py index 289fd8ae..f00cccf5 100644 --- a/libcst/_parser/types/config.py +++ b/libcst/_parser/types/config.py @@ -44,7 +44,7 @@ def __repr__(self) -> str: # This list should be kept in sorted order. -KNOWN_PYTHON_VERSION_STRINGS = ["3.0", "3.1", "3.3", "3.5", "3.6", "3.7", "3.8"] +KNOWN_PYTHON_VERSION_STRINGS = ["3.0", "3.1", "3.3"] + [f"3.{v}" for v in range(5, 14)] @add_slots