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

Update pre-commit hooks
This commit is contained in:
Matthias
2024-05-28 07:40:54 +02:00
committed by GitHub
3 changed files with 6 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: 'v0.4.4'
rev: 'v0.4.5'
hooks:
- id: ruff
@@ -56,7 +56,7 @@ repos:
)$
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:

View File

@@ -181,4 +181,4 @@ exclude = [
[tool.codespell]
ignore-words-list = "coo,fo,strat,zar,selectin"
skip="*.svg,./user_data,./freqtrade/rpc/api_server/ui/installed,./freqtrade/exchange/binance_leverage_tiers.json"
skip="*.svg,./user_data,freqtrade/rpc/api_server/ui/installed,freqtrade/exchange/*.json"

View File

@@ -116,6 +116,9 @@ class TestCCXTExchange:
def test_ccxt_fetch_tickers(self, exchange: EXCHANGE_FIXTURE_TYPE):
exch, exchangename = exchange
if exchangename in ("bitmart"):
# TODO: Remove once https://github.com/ccxt/ccxt/issues/22631 is fixed.
pytest.skip("Bitmart is unstable here at the moment")
pair = EXCHANGES[exchangename]["pair"]
tickers = exch.get_tickers()