Merge pull request #11302 from freqtrade/update/pre-commit-hooks

Update pre-commit hooks
This commit is contained in:
Matthias
2025-01-28 06:48:46 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ repos:
# stages: [push] # stages: [push]
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: "5.13.2" rev: "6.0.0"
hooks: hooks:
- id: isort - id: isort
name: isort (python) name: isort (python)
@@ -31,7 +31,7 @@ repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit - repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version. # Ruff version.
rev: 'v0.9.2' rev: 'v0.9.3'
hooks: hooks:
- id: ruff - id: ruff
- id: ruff-format - id: ruff-format
@@ -62,7 +62,7 @@ repos:
- id: strip-exif - id: strip-exif
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.3.0 rev: v2.4.0
hooks: hooks:
- id: codespell - id: codespell
additional_dependencies: additional_dependencies:

View File

@@ -645,7 +645,7 @@ def test_reload_markets(default_conf, mocker, caplog, time_machine):
# Tried once, failed # Tried once, failed
lam_spy.reset_mock() 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) exchange.reload_markets(force=True)
assert lam_spy.call_count == 4 assert lam_spy.call_count == 4
assert exchange.markets == updated_markets assert exchange.markets == updated_markets