From e2a3f28f87aba7102dd645de2a85af0467804dc6 Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Mon, 16 Dec 2024 16:44:12 +0100 Subject: [PATCH 1/2] TST: update ruff and codespell versions --- .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 119cb13..4b10603 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,13 +13,13 @@ default_language_version: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.8 + rev: v0.7.0 hooks: - id: ruff args: [ --fix ] - id: ruff-format - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: From 839c943121cd82f68c94687675e269aa6be56d8a Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Mon, 16 Dec 2024 16:51:24 +0100 Subject: [PATCH 2/2] Fix linter --- audmath/core/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audmath/core/api.py b/audmath/core/api.py index 3ac87f6..421ad92 100644 --- a/audmath/core/api.py +++ b/audmath/core/api.py @@ -806,7 +806,7 @@ def window( # Put a legend to the top right of the current axis plt.legend() ax.legend(loc='upper left', bbox_to_anchor=(1, 1)) - # Adjsut image size to contain outside legend + # Adjust image size to contain outside legend fig = plt.gcf() fig.set_size_inches(6.4, 3.84) plt.tight_layout()