Commit Graph

18 Commits

Author SHA1 Message Date
Davide Casale
1a6f4eaa21 Fix flake8 configuration to respect Black's 10% rule. 2024-02-27 18:14:47 +01:00
Davide Casale
38dbff1141 Apply black to all python files (bfxapi/**/*.py). 2024-02-26 19:43:14 +01:00
Davide Casale
2b7dfc5b8a Apply isort to all python files (bfxapi/**/*.py). 2024-02-26 19:36:10 +01:00
Davide Casale
1ec6c49428 Rewrite all rest examples according to v3.0.0b3's changes. 2023-10-26 17:47:06 +02:00
Davide Casale
b082891c41 Remove useless and redundant docstrings from custom exceptions. 2023-10-26 06:53:35 +02:00
Davide Casale
2734ff9e1a Drop modules bfxapi.enums, bfxapi.rest.enums and bfxapi.websocket.enums. 2023-10-26 06:53:35 +02:00
Davide Casale
25881e77c8 Fix and rewrite some logic in class BfxWebSocketClient. 2023-10-09 16:25:46 +02:00
Davide Casale
de0ee54900 Add new module bfxapi._utils.json_decoder. 2023-10-09 04:58:34 +02:00
Davide Casale
9edbd7a415 Rename bfxapi.utils to _utils (and update references). 2023-06-20 18:37:33 +02:00
Davide Casale
894391256d Rewrite long strings using \ instead of + (concatenation). 2023-03-08 16:30:52 +01:00
Davide Casale
9e1b336a67 Move _Delay local class in global scope (bfxapi.websocket.client.bfx_websocket_client).
Apply pylint's linting rules to bfxapi/rest/__init__.py, bfxapi/rest/enums.py, bfxapi/rest/exceptions.py, bfxapi/rest/serializers.py and bfxapi/rest/types.py."
Apply pylint's linting rules to bfxapi/rest/endpoints/__init__.py, bfxapi/rest/endpoints/bfx_rest_interface.py and bfxapi/rest/endpoints/rest_public_endpoints.py.
2023-03-07 17:08:37 +01:00
Davide Casale
7288d05939 Apply pylint's linting rules to bfxapi/utils/*.py. 2023-03-06 17:22:00 +01:00
itsdeka
b06476e0d4 nonce must be str 2023-03-03 15:53:06 +01:00
Davide Casale
e3eb3d6a56 Merge pull request #1 from itsdeka/patch-1
Nonce generation must be the same of the previous version.
2023-02-20 15:23:05 +01:00
Dario Moceri
3c760eacf6 Nonce generation must be the same of the previous version 2023-02-20 11:14:34 +01:00
Davide Casale
7e7c4ef23a Fix all mypy errors and warnings. 2023-02-09 04:22:22 +01:00
Davide Casale
6693e376fc Fix bug in bfxapi.middleware sub-package. 2023-02-08 14:57:36 +01:00
Davide Casale
2d01261182 Organize rest sub-package. Create new endpoints and middleware sub-packages. Rename class Requests to Middleware. 2023-02-07 18:55:17 +01:00