We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b36862f commit 33a7611Copy full SHA for 33a7611
1 file changed
{{cookiecutter.project_name}}/noxfile.py
@@ -14,13 +14,7 @@
14
nox.options.default_venv_backend = "uv"
15
os.environ.setdefault("PYO3_USE_ABI3_FORWARD_COMPATIBILITY", "1")
16
17
-# Logic that helps avoid metaprogramming in cookiecutter-robust-python
18
-MIN_PYTHON_VERSION_SLUG: int = int("{{cookiecutter.min_python_version}}".lstrip("3."))
19
-MAX_PYTHON_VERSION_SLUG: int = int("{{cookiecutter.max_python_version}}".lstrip("3."))
20
-
21
-PYTHON_VERSIONS: List[str] = [
22
- f"3.{VERSION_SLUG}" for VERSION_SLUG in range(MIN_PYTHON_VERSION_SLUG, MAX_PYTHON_VERSION_SLUG + 1)
23
-]
+PYTHON_VERSIONS: List[str] = {{cookiecutter.python_versions}}
24
DEFAULT_PYTHON_VERSION: str = PYTHON_VERSIONS[-1]
25
26
REPO_ROOT: Path = Path(__file__).parent.resolve()
0 commit comments