diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 368303a4..353bb668 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,16 +7,16 @@ default_stages: minimum_pre_commit_version: 2.16.0 repos: - repo: https://github.com/biomejs/pre-commit - rev: v2.5.3 + rev: v2.6.5 hooks: - id: biome-format exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually. - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.25.3 + rev: v2.30.6 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.21 + rev: v0.17.3 hooks: - id: ruff-check types_or: [python, pyi, jupyter] @@ -38,13 +38,13 @@ repos: args: [--assume-in-merge] - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.24.1 + rev: v1.32.0 hooks: - id: zizmor args: [--no-progress, --fix] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.20.2 + rev: v2.4.1 hooks: - id: mypy additional_dependencies: [numpy, types-requests] diff --git a/biome.jsonc b/biome.jsonc index 9f8f2208..0464f278 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -2,6 +2,7 @@ "$schema": "https://biomejs.dev/schemas/2.2.0/schema.json", "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "formatter": { "useEditorconfig": true }, + "markdown": { "formatter": { "enabled": false } }, // handled by panache "overrides": [ { "includes": ["./.vscode/*.json", "**/*.jsonc"], diff --git a/pyproject.toml b/pyproject.toml index f522b60c..de35ab65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", ] dynamic = [ "version", # allow version to be set by git tags @@ -103,7 +104,9 @@ dependencies.python = ">=3.12" pypi-dependencies.spatialdata-plot = { path = ".", editable = true } tasks.format = "ruff format ." tasks.kernel-install = 'python -m ipykernel install --user --name pixi-dev --display-name "sdata-plot (dev)"' -tasks.kernel-install-interactive = "python -m ipykernel install --user --name sdata-plot-interactive --display-name \"sdata-plot (interactive)\"" +tasks.kernel-install-interactive = """\ + python -m ipykernel install --user --name sdata-plot-interactive --display-name \"sdata-plot (interactive)\"\ + """ tasks.lab = "jupyter lab" tasks.lint = "ruff check ." tasks.pre-commit-install = "pre-commit install" @@ -194,12 +197,12 @@ ini_options.filterwarnings = [ ] [tool.coverage] -run.branch = true +run.source = [ "spatialdata_plot" ] run.omit = [ "**/test_*.py", ] +run.branch = true run.parallel = true -run.source = [ "spatialdata_plot" ] paths.source = [ "src/spatialdata_plot", "*/site-packages/spatialdata_plot",