mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-26 00:40:23 +00:00
Merge pull request #11302 from freqtrade/update/pre-commit-hooks
Update pre-commit hooks
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user