From 4ef667bf740fb39249d9f4f34da59d65a30d1f3d Mon Sep 17 00:00:00 2001 From: Stefanie Molin <24376333+stefmolin@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:23:34 +0200 Subject: [PATCH 1/3] Update numpydoc hook to version merged upstream. --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ec2b3bb..44a81c4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,8 +42,8 @@ repos: additional_dependencies: - black - - repo: https://github.com/stefmolin/numpydoc - rev: 6a1a606 + - repo: https://github.com/numpy/numpydoc + rev: v1.6.0rc1 hooks: - id: numpydoc-validation exclude: (tests/|docs/).* From bd434b11c972711f6965ea825f523d6c4b8d89d4 Mon Sep 17 00:00:00 2001 From: Stefanie Molin <24376333+stefmolin@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:27:02 +0200 Subject: [PATCH 2/3] Update pre-commit hooks. --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 44a81c4c..a1270dfc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,25 +17,25 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.2.5 hooks: - id: codespell additional_dependencies: - tomli - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.262 + rev: v0.0.284 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.7.0 hooks: - id: black - repo: https://github.com/adamchainz/blacken-docs - rev: 1.13.0 + rev: 1.16.0 hooks: - id: blacken-docs args: [--skip-string-normalization] From 4a413209d4242ddae6444fc5ffa0dbe832b156a1 Mon Sep 17 00:00:00 2001 From: Stefanie Molin <24376333+stefmolin@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:46:24 +0200 Subject: [PATCH 3/3] Pin sphinx<7.2 due to breaking changes (sphinx-doc/sphinx#11608) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7318584a..0437ce3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ dev = [ ] docs = [ "pydata-sphinx-theme>=0.13.1", - "sphinx>=6.1.3", + "sphinx>=6.1.3,<7.2", "sphinx-argparse>=0.4.0", "sphinx_copybutton>=0.5.1", ]