Skip to content

Commit 2dc6743

Browse files
committed
[CI] fix pre-commit, drop suppport for py3.7 and add support for py3.13
1 parent 634cf50 commit 2dc6743

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- uses: actions/setup-python@v4
15-
- uses: pre-commit/action@v2.0.2
15+
- uses: pre-commit/action@v3.0.1
1616

1717
tests:
1818
name: "Python ${{ matrix.python-version }}"
@@ -21,8 +21,6 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
include:
24-
- python-version: "3.7"
25-
machine: ubuntu-22.04
2624
- python-version: "3.8"
2725
machine: ubuntu-22.04
2826
- python-version: "3.9"
@@ -33,6 +31,8 @@ jobs:
3331
machine: ubuntu-22.04
3432
- python-version: "3.12"
3533
machine: ubuntu-22.04
34+
- python-version: "3.13"
35+
machine: ubuntu-22.04
3636
steps:
3737
- uses: "actions/checkout@v3"
3838
- uses: "actions/setup-python@v4"

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ repos:
1818
- id: check-yaml
1919
- id: end-of-file-fixer
2020
- id: trailing-whitespace
21-
- repo: https://github.com/myint/docformatter
22-
rev: v1.7.5
21+
- repo: https://github.com/PyCQA/docformatter
22+
rev: eb1df347edd128b30cd3368dddc3aa65edcfac38
2323
hooks:
2424
- id: docformatter
2525
args: ["--in-place", "--wrap-summaries=88"]

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[gh-actions]
22
python =
3-
3.7: py37, typing
43
3.8: py38, typing
54
3.9: py39, typing, pypi-description
65
3.10: py310, typing
76
3.11: py311, typing
87
3.12: py312, typing
8+
3.13: py313, typing
99
pypi-description: pypi-description
1010

1111
[tox]
@@ -17,6 +17,7 @@ envlist =
1717
py310
1818
py311
1919
py312
20+
py313
2021
lint
2122
typing
2223
pypi-description

0 commit comments

Comments
 (0)