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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ default_stages:
minimum_pre_commit_version: 2.16.0
repos:
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.5.1
rev: v3.6.2
hooks:
- id: prettier
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.2
rev: v0.12.8
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --unsafe-fixes]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
rev: v1.17.1
hooks:
- id: mypy
additional_dependencies: [numpy, types-PyYAML]
exclude: docs/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: detect-private-key
- id: check-ast
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ test = [
"pytest-cov",
]
# this will be used by readthedocs and will make pip also look for pre-releases, generally installing the latest available version
# update: readthedocs doens't seem to try to install pre-releases even if when trying to install the pre optional-dependency. For
# the moment, if needed, let's add the latest pre-release explicitly here.
pre = [
"spatialdata>=0.1.0-pre0"
"spatialdata>=0.4.0rc0"
]

[tool.coverage.run]
Expand Down
Loading