22 lines
455 B
Markdown
22 lines
455 B
Markdown
---
|
|
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`
|
|
|