chore: prevent execution of command partials on python <3.13

This commit is contained in:
Matthias
2025-11-16 08:41:14 +01:00
parent b753231d3c
commit 5c0cf8f228

View File

@@ -1,4 +1,5 @@
import subprocess # noqa: S404, RUF100
import sys
from pathlib import Path
@@ -62,4 +63,9 @@ def extract_command_partials():
if __name__ == "__main__":
if sys.version_info < (3, 13): # pragma: no cover
sys.exit(
"argparse output changed in Python 3.13+. "
"To keep command partials up to date, please run this script with Python 3.13+."
)
extract_command_partials()