Skip to content

Commit 209ac1f

Browse files
author
Cimon Lucas (LCM)
committed
Supporting/testing Python 3.12 + pre-commit hooks upgrades
1 parent da75816 commit 209ac1f

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/github-ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-20.04
2323
strategy:
2424
matrix:
25-
python-version: ["3.8", "3.9", "3.10", "3.11"]
25+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2626

2727
steps:
2828
- name: Checkout Code

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pre-commit run --all-files
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.5.0
4+
rev: v5.0.0
55
hooks:
66
- id: check-ast
77
- id: check-byte-order-marker
@@ -18,34 +18,34 @@ repos:
1818
- id: check-added-large-files
1919
args: ['--maxkb=1000']
2020
- repo: https://github.com/psf/black
21-
rev: 23.12.0
21+
rev: 24.10.0
2222
hooks:
2323
- id: black
2424
args: [--target-version, py36]
2525
- repo: https://github.com/asottile/blacken-docs
26-
rev: 1.16.0
26+
rev: 1.19.1
2727
hooks:
2828
- id: blacken-docs
2929
additional_dependencies: [black==22.1.0]
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: v0.1.8
31+
rev: v0.7.2
3232
hooks:
3333
- id: ruff
3434
args: ['--fix']
3535
exclude: "tests/"
3636
- repo: https://github.com/asottile/pyupgrade
37-
rev: v3.15.0
37+
rev: v3.19.0
3838
hooks:
3939
- id: pyupgrade
4040
args: [--py36-plus]
4141
- repo: https://github.com/pycqa/flake8
42-
rev: 6.1.0
42+
rev: 7.1.1
4343
hooks:
4444
- id: flake8
4545
args: ["--ignore", "E,W,F"]
4646

4747
- repo: https://github.com/pre-commit/mirrors-mypy
48-
rev: 'v1.7.1'
48+
rev: 'v1.13.0'
4949
hooks:
5050
- id: mypy
5151
files: ^pdfly/.*

.readthedocs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version: 2
55
build:
66
os: ubuntu-22.04
77
tools:
8-
python: "3.11"
8+
python: "3.12"
99

1010
# Build documentation in the docs/ directory with Sphinx
1111
sphinx:

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ classifiers = [
2626
"Programming Language :: Python :: 3.8",
2727
"Programming Language :: Python :: 3.9",
2828
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
30+
"Programming Language :: Python :: 3.12",
2931
]
3032

3133
dependencies = [

0 commit comments

Comments
 (0)