mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 06:44:22 +01:00
Apply lots of refactoring to the websocket subpackage (fix every mypy error and warning). Add integers.py and decimal.py to bfxapi.utils package. Update requirements.txt and setup.py with new mypy dependencies.
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
__all__ = [
|
||||
"BfxBaseException",
|
||||
"LabelerSerializerException"
|
||||
|
||||
"LabelerSerializerException",
|
||||
"IntegerUnderflowError",
|
||||
"IntegerOverflowflowError"
|
||||
]
|
||||
|
||||
class BfxBaseException(Exception):
|
||||
@@ -15,4 +18,18 @@ class LabelerSerializerException(BfxBaseException):
|
||||
This exception indicates an error thrown by the _Serializer class in bfxapi/labeler.py.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
class IntegerUnderflowError(BfxBaseException):
|
||||
"""
|
||||
This error indicates an underflow in one of the integer types defined in bfxapi/utils/integers.py.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
class IntegerOverflowflowError(BfxBaseException):
|
||||
"""
|
||||
This error indicates an overflow in one of the integer types defined in bfxapi/utils/integers.py.
|
||||
"""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user