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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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]
Expand Down
1 change: 1 addition & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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",
Expand Down
Loading