Don't inherit from object

This commit is contained in:
hroff-1902
2019-09-12 04:39:52 +03:00
parent f987e6e0f9
commit 849d694c27
12 changed files with 13 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ from freqtrade.constants import SUPPORTED_FIAT
logger = logging.getLogger(__name__)
class CryptoFiat(object):
class CryptoFiat:
"""
Object to describe what is the price of Crypto-currency in a FIAT
"""
@@ -60,7 +60,7 @@ class CryptoFiat(object):
return self._expiration - time.time() <= 0
class CryptoToFiatConverter(object):
class CryptoToFiatConverter:
"""
Main class to initiate Crypto to FIAT.
This object contains a list of pair Crypto, FIAT

View File

@@ -54,7 +54,7 @@ class RPCException(Exception):
}
class RPC(object):
class RPC:
"""
RPC class can be used to have extra feature, like bot data, and access to DB data
"""

View File

@@ -9,7 +9,7 @@ from freqtrade.rpc import RPC, RPCMessageType
logger = logging.getLogger(__name__)
class RPCManager(object):
class RPCManager:
"""
Class to manage RPC objects (Telegram, Slack, ...)
"""