Install and configure pylint. Add pylint to dev-requirements.txt. Start rewriting code to follow pylint's linting rules.

This commit is contained in:
Davide Casale
2023-03-06 16:36:56 +01:00
parent 6c99d3aacf
commit a4c1418113
26 changed files with 70 additions and 57 deletions

View File

@@ -6,7 +6,7 @@ from bfxapi import Client, PUB_REST_HOST
from bfxapi.rest.types import List, PulseMessage, PulseProfile
bfx = Client(REST_HOST=PUB_REST_HOST)
bfx = Client(rest_host=PUB_REST_HOST)
# POSIX timestamp in milliseconds (check https://currentmillis.com/)
end = datetime.datetime(2020, 5, 2).timestamp() * 1000