Skip to content

Commit 53a2190

Browse files
Note required python version for use_pyproject: true (psf#4503)
1 parent c98fc0c commit 53a2190

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/integrations/github_actions.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,14 @@ If you want to match versions covered by Black's
7474
version: "~= 22.0"
7575
```
7676

77-
If you want to read the version from `pyproject.toml`, set `use_pyproject` to `true`:
77+
If you want to read the version from `pyproject.toml`, set `use_pyproject` to `true`.
78+
Note that this requires Python >= 3.11, so using the setup-python action may be
79+
required, for example:
7880

7981
```yaml
82+
- uses: actions/setup-python@v5
83+
with:
84+
python-version: "3.13"
8085
- uses: psf/black@stable
8186
with:
8287
options: "--check --verbose"

0 commit comments

Comments
 (0)