watchforstock / evohome-client

Python client to access the Evohome web service
Apache License 2.0
88 stars 52 forks source link

De-lint step two #61

Closed zxdavb closed 5 years ago

zxdavb commented 5 years ago

There are now no errors from flake8 --ignore=E501 evohomeclient2/*.

I have also added self.refresh_token = data['refresh_token'], and made a tweak to the EvohomeClientInvalidPostData exception.

Having the refresh token will aloow experimentation with curl to develop an alternative to re-authenticating when the access_token expires.