From 11fb5c51bf65b66f2c4a96ce40f5a89a16515be5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 22:11:53 +0000 Subject: [PATCH 1/2] chore: [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.1...v0.9.4) - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 25.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...25.1.0) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.1) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1) - [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.30.0...0.31.1) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93861a557c..56f1e193ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,13 +35,13 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.1" + rev: "v0.9.4" hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black-jupyter types_or: [python, pyi, jupyter] @@ -53,7 +53,7 @@ repos: additional_dependencies: [black==24.10.0] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 + rev: v1.14.1 # check the oldest and newest supported Pythons hooks: - &mypy @@ -68,14 +68,14 @@ repos: args: ["--python-version=3.12"] - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell files: ^.*\.(py|md|rst)$ args: ["-w", "-L", "hist,gaus"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.30.0 + rev: 0.31.1 hooks: - id: check-readthedocs args: ["--verbose"] From f606facb29c2cf778391cd0c15e7e4bd182b696f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 22:14:28 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/development.rst | 2 +- docs/likelihood.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/development.rst b/docs/development.rst index 3d3341cd12..0b9d37d461 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -255,7 +255,7 @@ final deployment to PyPI_ can be done by creating a GitHub Release: #. Select the release tag that was just pushed, and set the release title to be the tag (e.g. ``v1.2.3``). #. Use the "Auto-generate release notes" button to generate a skeleton of the release - notes and then augment them with the preprepared release notes the release maintainer + notes and then augment them with the prepared release notes the release maintainer has written. #. Select "This is a pre-release" if the release is a release candidate. #. Select "Create a discussion for this release" if the release is a stable release. diff --git a/docs/likelihood.rst b/docs/likelihood.rst index a3e687a6e2..4428b9e93d 100644 --- a/docs/likelihood.rst +++ b/docs/likelihood.rst @@ -115,7 +115,7 @@ constraint terms are derived implicitly as each type of modifier unambiguously defines the constraint terms it requires. Correlated shape modifiers and normalisation uncertainties have compatible constraint terms and thus modifiers can be declared that *share* parameters by -re-using a name [1]_ for multiple modifiers. That is, a variation of a +reusing a name [1]_ for multiple modifiers. That is, a variation of a single parameter causes a shift within sample rates due to both shape and normalisation variations.