Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:38:39 +08:00
commit 363bb25e08
12 changed files with 641 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
---
name: detect-python-version
description: Detects the Python major and minor version of the current repository
---
# detect-python-version
Runs a script that outputs the Python version in `major.minor` format (e.g., `3.11`, `3.13`).
## Instructions
Run `scripts/detect_version.py` to detect the Python version.
The script outputs just the version string in `major.minor` format, nothing else.
## Examples
**Output:** `3.11`
**Output:** `3.13`