From 678fc64429ead189f18b2044ab83ab00320fd518 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 00:19:10 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [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/PyCQA/isort: 5.13.2 → 6.0.0](https://github.com/PyCQA/isort/compare/5.13.2...6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.9.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.9.6) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 06204e4..7b8dd81 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,17 +15,17 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.1 hooks: - id: codespell args: ["--ignore-words-list=socio-economic"] exclude: "BIBLIOGRAPHY.bib|CONTRIBUTORS.rst" - repo: https://github.com/PyCQA/isort - rev: "5.13.2" + rev: "6.0.0" hooks: - id: isort - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.8.2" + rev: "v0.9.6" hooks: - id: ruff-format - id: ruff From 5038286ecab91dca2ce107581542f90d87a65752 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 00:21:16 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- colour_visuals/planckian_locus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colour_visuals/planckian_locus.py b/colour_visuals/planckian_locus.py index 3d845c9..175fefc 100644 --- a/colour_visuals/planckian_locus.py +++ b/colour_visuals/planckian_locus.py @@ -303,7 +303,7 @@ def update(self) -> None: text = gfx.Text( gfx.TextGeometry( - f'{as_int_scalar(label)}{"M" if self._mireds else "K"}', + f"{as_int_scalar(label)}{'M' if self._mireds else 'K'}", font_size=CONSTANTS_COLOUR_STYLE.font.size, screen_space=True, anchor="Bottom-Left",