divio / divio-cli

Command line interface to the Divio Cloud (formerly aldryn-client)
http://control.divio.com
Other
21 stars 19 forks source link

black formatting, python3, make lint #220

Closed kinkerl closed 6 years ago

kinkerl commented 6 years ago

reformatting everything with black

fixes #215

vxsx commented 6 years ago

not much of a review from me, but it should be ok. does this drop py2 support?

kinkerl commented 6 years ago

no. the only code change is a "unicode" to "str". the rest is formatting. will merge once the travis issues are sorted out

kinkerl commented 6 years ago

added new error messages as well:

RESOURCE_NOT_FOUND_ANONYMOUS = "Resource not found" RESOURCE_NOT_FOUND = "Resource not found. You are logged in as '{login}', please check if you have permissions to access the ressource"

glasnt commented 6 years ago

@kinkerl let me know if you want the test suite to test any Python versions other than 3.6.3