mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Merge pull request #10264 from freqtrade/update/pre-commit-hooks
Update pre-commit hooks
This commit is contained in:
@@ -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.4.4'
|
rev: 'v0.4.5'
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
|
|
||||||
@@ -56,7 +56,7 @@ repos:
|
|||||||
)$
|
)$
|
||||||
|
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
rev: v2.2.6
|
rev: v2.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
|||||||
@@ -181,4 +181,4 @@ exclude = [
|
|||||||
|
|
||||||
[tool.codespell]
|
[tool.codespell]
|
||||||
ignore-words-list = "coo,fo,strat,zar,selectin"
|
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"
|
||||||
|
|||||||
@@ -116,6 +116,9 @@ class TestCCXTExchange:
|
|||||||
|
|
||||||
def test_ccxt_fetch_tickers(self, exchange: EXCHANGE_FIXTURE_TYPE):
|
def test_ccxt_fetch_tickers(self, exchange: EXCHANGE_FIXTURE_TYPE):
|
||||||
exch, exchangename = exchange
|
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"]
|
pair = EXCHANGES[exchangename]["pair"]
|
||||||
|
|
||||||
tickers = exch.get_tickers()
|
tickers = exch.get_tickers()
|
||||||
|
|||||||
Reference in New Issue
Block a user