diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6f2127a8..2788791f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index fefc1a37..ec30392b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]