Skip to content

Commit 075cc25

Browse files
[pre-commit.ci] pre-commit autoupdate (#289)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.12 → v0.14.3](astral-sh/ruff-pre-commit@v0.11.12...v0.14.3) - [github.com/pre-commit/mirrors-mypy: v1.16.0 → v1.18.2](pre-commit/mirrors-mypy@v1.16.0...v1.18.2) Signed-off-by: Frost Ming <[email protected]> * fix: update Python version matrix in CI workflow Signed-off-by: Frost Ming <[email protected]> * Refactor code structure for improved readability and maintainability Signed-off-by: Frost Ming <[email protected]> * Implement feature X to enhance user experience and fix bug Y in module Z Signed-off-by: Frost Ming <[email protected]> --------- Signed-off-by: Frost Ming <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Frost Ming <[email protected]>
1 parent 98fec6d commit 075cc25

File tree

3 files changed

+413
-297
lines changed

3 files changed

+413
-297
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,16 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9"]
14+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "pypy-3.9"]
1515
os: [ubuntu-latest, windows-latest, macos-latest]
16-
exclude:
17-
- python-version: 3.9
18-
os: macos-latest
19-
include:
20-
- python-version: 3.9
21-
os: macos-13
2216

2317
steps:
2418
- uses: actions/checkout@v4
25-
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v5
27-
with:
28-
python-version: ${{ matrix.python-version }}
29-
allow-prereleases: true
30-
cache: "pip"
19+
3120
- name: Setup PDM
3221
uses: pdm-project/setup-pdm@v4
22+
with:
23+
python-version: ${{ matrix.python-version }}
3324
- name: Install Dependencies
3425
run: pdm sync
3526
- name: Install Mercurial

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ ci:
44
exclude: ^src/pdm/backend/_vendor
55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: 'v0.11.12'
7+
rev: 'v0.14.3'
88
hooks:
9-
- id: ruff
9+
- id: ruff-check
1010
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
1111
- id: ruff-format
1212

1313
- repo: https://github.com/pre-commit/mirrors-mypy
14-
rev: v1.16.0
14+
rev: v1.18.2
1515
hooks:
1616
- id: mypy
1717
exclude: ^(src/pdm/backend/_vendor|tests|scripts)

0 commit comments

Comments
 (0)