diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0dc6560..c4239ad 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,14 +19,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.20 + rev: v0.15.21 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v2.1.0 + rev: v2.3.0 hooks: - id: mypy # install sphinx so the hook type-checks with real types, diff --git a/pyproject.toml b/pyproject.toml index 344beb6..db25e02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,13 +38,13 @@ code-style = ["pre-commit>=3,<5"] rtd = ["myst-parser>=4,<6"] testing = [ "myst-parser>=4,<6", - "pytest~=8.3", + "pytest>=8.3,<10.0", "pytest-cov", "pytest-regressions", "defusedxml", ] testing-no-myst = [ - "pytest~=8.3", + "pytest>=8.3,<10.0", "pytest-cov", "pytest-regressions", "defusedxml", @@ -58,8 +58,8 @@ theme-im = ["sphinx-immaterial~=0.13.9"] [dependency-groups] # keep in sync with the mirrors-mypy / ruff-pre-commit revs in .pre-commit-config.yaml -mypy = ["mypy==2.1.0"] -ruff = ["ruff==0.15.20"] +mypy = ["mypy==2.3.0"] +ruff = ["ruff==0.15.21"] [tool.flit.sdist] exclude = [