diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 96fededb..a700ac19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: args: - --ignore-case - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.8.22 + rev: 0.9.8 hooks: # Keep lock file up to date - id: uv-lock @@ -64,7 +64,7 @@ repos: - id: forbid-tabs exclude: documentation/make.bat|documentation/Makefile - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v9.2.0 + rev: v9.2.1 hooks: # Run a spellcheck (words pulled from cspell.config.yaml) - id: cspell @@ -92,7 +92,7 @@ repos: # Enforce that type annotations are used instead of type comments - id: python-use-type-annotations - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.2 + rev: v0.14.4 hooks: # Run the linter. - id: ruff diff --git a/documentation/source/conf.py b/documentation/source/conf.py index b4edece7..e0fcda9d 100644 --- a/documentation/source/conf.py +++ b/documentation/source/conf.py @@ -54,7 +54,6 @@ from ref_style import STYLE_NAME # needed to fix citations within the docstrings import coreax # Cannot import until after package has been added to path -import coreax.util # pylint: enable=wrong-import-position @@ -98,6 +97,7 @@ # pylint: disable=invalid-name +always_use_bars_union = True toc_object_entries_show_parents = "hide" # don't show prefix in secondary TOC # pylint: enable=invalid-name