Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Install dependencies
run: python -m pip install pre-commit
- name: Cache pre-commit environments
Expand All @@ -50,11 +50,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
openslide: [system, wheel]
include:
- os: ubuntu-latest
python-version: "3.13"
python-version: "3.14"
openslide: system
sdist: sdist
steps:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
shell: bash
strategy:
matrix:
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
openslide: [zip, wheel]
steps:
- name: Check out repo
Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
python-version: '3.14'
- name: Install Python tools
run: |
python -m pip install --upgrade pip
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ repos:
args: ["--py39-plus"]

- repo: https://github.com/PyCQA/isort
rev: 6.0.1
rev: 6.1.0
hooks:
- id: isort
name: Reorder python imports with isort

- repo: https://github.com/psf/black
rev: 25.1.0
rev: 25.9.0
hooks:
- id: black
name: Format python code with black

- repo: https://github.com/asottile/blacken-docs
rev: 1.19.1
rev: 1.20.0
hooks:
- id: blacken-docs
name: Format python code in documentation
Expand All @@ -54,7 +54,7 @@ repos:
additional_dependencies: [flake8-bugbear, Flake8-pyproject]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.17.1
rev: v1.18.2
hooks:
- id: mypy
name: Check Python types
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Typing :: Typed",
]
Expand Down Expand Up @@ -51,7 +52,7 @@ openslide = ["py.typed", "*.pyi"]

[tool.black]
skip-string-normalization = true
target-version = ["py39", "py310", "py311", "py312", "py313"]
target-version = ["py39", "py310", "py311", "py312", "py313", "py314"]

# Ref: https://github.com/codespell-project/codespell#using-a-config-file
[tool.codespell]
Expand Down