Skip to content

Commit

Permalink
ci: PR check on python 3.9-3.13 (#203)
Browse files Browse the repository at this point in the history
* ci: PR check on python 3.9-3.13

* README: modify python version about EOL
  • Loading branch information
EeyoreLee authored Jan 10, 2025
1 parent bbe42e0 commit 696f67b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python: ['3.8', '3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- name: Checkout
Expand All @@ -30,10 +30,10 @@ jobs:
path: ${{ env.special-working-directory-relative }}

# Install bundled libs using 3.8 even though you test it on other versions.
- name: Use Python 3.8
- name: Use Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.10'

- name: Update pip, install wheel and nox
run: python -m pip install -U pip wheel nox
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A formatter extension with support for python files and notebook cell. Feel free to open an issue to tell me what feature else do you need since it's a preview version.
Note:
* This extension is supported for all [actively supported versions](https://devguide.python.org/versions/#supported-versions) of the python language (i.e., python >= 3.8(EOL: 2024-10)).
* This extension is supported for all [actively supported versions](https://devguide.python.org/versions/#supported-versions) of the python language (i.e., python >= 3.9(EOL: 2025-10)).

## Quick Start
Setting the following can enable this formatter quickly.
Expand All @@ -17,7 +17,7 @@ Setting the following can enable this formatter quickly.


## Usage
* Install `yapf` package from pip in following. This is optional but recommended way, else it will use the bundled `yapf=0.40.2`
* Install `yapf` package from pip in following. This is optional but recommended way, else it will use the bundled `yapf=0.43.0`
```
pip install yapf
```
Expand All @@ -34,8 +34,8 @@ pip install yapf
}
```

## Address crash for python3.7 or lower
Use `yapf.interpreter` property to select a python interpreter that 3.8 or higher to run this tool by subprocess
## Address crash for python3.8 or lower
Use `yapf.interpreter` property to select a python interpreter that 3.9 or higher to run this tool by subprocess


## file mode & modifications mode
Expand Down

0 comments on commit 696f67b

Please sign in to comment.