From de8b3a89fd8439efb7516c9c8c8c7f9794062ad3 Mon Sep 17 00:00:00 2001 From: xmatthias <5024695+xmatthias@users.noreply.github.com> Date: Tue, 28 Jan 2025 03:03:24 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks --- .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 c29be656b..a7b9d4316 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: # stages: [push] - repo: https://github.com/pycqa/isort - rev: "5.13.2" + rev: "6.0.0" hooks: - id: isort name: isort (python) @@ -31,7 +31,7 @@ repos: - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.9.2' + rev: 'v0.9.3' hooks: - id: ruff - id: ruff-format @@ -62,7 +62,7 @@ repos: - id: strip-exif - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.0 hooks: - id: codespell additional_dependencies: From 0e807d4a18a97b9893920d0bd5767b0a82dee190 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 28 Jan 2025 06:29:54 +0100 Subject: [PATCH 2/2] chore: fix typo as identified by codespell --- tests/exchange/test_exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/exchange/test_exchange.py b/tests/exchange/test_exchange.py index 77f347fdd..4cfa32ed6 100644 --- a/tests/exchange/test_exchange.py +++ b/tests/exchange/test_exchange.py @@ -645,7 +645,7 @@ def test_reload_markets(default_conf, mocker, caplog, time_machine): # Tried once, failed lam_spy.reset_mock() - # When forceing (bot startup), it should retry 3 times. + # When forcing (bot startup), it should retry 3 times. exchange.reload_markets(force=True) assert lam_spy.call_count == 4 assert exchange.markets == updated_markets