Use doublequotes for docstrings

This commit is contained in:
Matthias 2021-11-09 10:31:54 +00:00 committed by GitHub
parent f9e5a25b36
commit 6267678ca9
3 changed files with 10 additions and 12 deletions

View File

@ -1,4 +1,4 @@
""" Kucoin exchange subclass """ """Kucoin exchange subclass."""
import logging import logging
from typing import Dict from typing import Dict
@ -9,9 +9,9 @@ logger = logging.getLogger(__name__)
class Kucoin(Exchange): class Kucoin(Exchange):
""" """Kucoin exchange class.
Kucoin exchange class. Contains adjustments needed for Freqtrade to work
with this exchange. Contains adjustments needed for Freqtrade to work with this exchange.
Please note that this exchange is not included in the list of exchanges Please note that this exchange is not included in the list of exchanges
officially supported by the Freqtrade development team. So some features officially supported by the Freqtrade development team. So some features

View File

@ -8,9 +8,9 @@ logger = logging.getLogger(__name__)
class Okex(Exchange): class Okex(Exchange):
""" """Okex exchange class.
Okex exchange class. Contains adjustments needed for Freqtrade to work
with this exchange. Contains adjustments needed for Freqtrade to work with this exchange.
""" """
_ft_has: Dict = { _ft_has: Dict = {

View File

@ -238,9 +238,9 @@ def test_validate_order_time_in_force(default_conf, mocker, caplog):
(2.9999, 4, 0.005, 2.995), (2.9999, 4, 0.005, 2.995),
]) ])
def test_amount_to_precision(default_conf, mocker, amount, precision_mode, precision, expected): def test_amount_to_precision(default_conf, mocker, amount, precision_mode, precision, expected):
''' """
Test rounds down Test rounds down
''' """
markets = PropertyMock(return_value={'ETH/BTC': {'precision': {'amount': precision}}}) markets = PropertyMock(return_value={'ETH/BTC': {'precision': {'amount': precision}}})
@ -279,9 +279,7 @@ def test_amount_to_precision(default_conf, mocker, amount, precision_mode, preci
]) ])
def test_price_to_precision(default_conf, mocker, price, precision_mode, precision, expected): def test_price_to_precision(default_conf, mocker, price, precision_mode, precision, expected):
''' """Test price to precision"""
Test price to precision
'''
markets = PropertyMock(return_value={'ETH/BTC': {'precision': {'price': precision}}}) markets = PropertyMock(return_value={'ETH/BTC': {'precision': {'price': precision}}})
exchange = get_patched_exchange(mocker, default_conf, id="binance") exchange = get_patched_exchange(mocker, default_conf, id="binance")