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 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",