Commit Graph

13 Commits

Author SHA1 Message Date
Davide Casale
34f583cfff Add bfxapi/version.py to contain the package version. 2023-03-22 21:26:09 +01:00
Davide Casale
bd09cc4ae4 Remove skip parameter in _Serializer::parse, add flat argument in _Serializer::__init__. Add _Serializer::__flatten class method. Fix small bugs in bfxapi.rest.endpoints.rest_public_endpoints and bfxapi.rest.endpoints.rest_authenticated_endpoints. 2023-03-08 19:31:48 +01:00
Davide Casale
87ea765281 Apply refactoring with pylint to bfxapi.rest.endpoints sub-package. 2023-03-08 18:32:03 +01:00
Davide Casale
894391256d Rewrite long strings using \ instead of + (concatenation). 2023-03-08 16:30:52 +01:00
Davide Casale
9e566bbc5a Switch from max-line-length=130 to more standard max-line-length=120 in .pylintrc. 2023-03-07 15:28:02 +01:00
Davide Casale
af25f25d3b Apply pylint's linting rules to bfxapi/tests/*.py. 2023-03-06 19:06:32 +01:00
Davide Casale
5c707d7929 Apply pylint's linting rules to bfxapi/websocket/client/*.py. 2023-03-06 18:46:04 +01:00
Davide Casale
16d0ee525e Remove test_rest_serializers_and_types.py and test_websocket_serializers_and_types.py. Add new test_rest_serializers.py and test_websocket_serializers.py unit tests. Edit bfxapi.tests.__init__.py's test suite. 2023-02-17 04:29:26 +01:00
Davide Casale
0a9384e670 Add new bfxapi/tests/test_notification unit test. 2023-02-07 17:45:03 +01:00
Davide Casale
168b2eae25 Implement new unit tests in bfxapi/tests/test_labeler.py. 2023-02-07 17:21:51 +01:00
Davide Casale
52ff5006b1 Add bfxapi/tests/test_labeler.py unit test. 2023-02-06 19:36:54 +01:00
Davide Casale
929ae62d2f Fix bug in bfxapi.tests sub-package. 2023-02-06 16:16:11 +01:00
Davide Casale
05784cc8ec Add tests subpackage. Add TestRestSerializersAndTypes and TestWebsocketSerializersAndTypes unit tests. Fix consistency bugs between serializers and types. 2023-02-01 17:05:25 +01:00