mailjet / mailjet-apiv3-python

[API v3] Python Mailjet wrapper
https://dev.mailjet.com
MIT License
109 stars 41 forks source link

PEP8 enabled #107

Closed skupriienko closed 3 weeks ago

skupriienko commented 1 month ago

Links

Plan to enable Python conventions

PEP-8

skupriienko commented 1 month ago

@DanyilNefodov Could you please run tests against these changes? Because I'm getting KeyError: 'MJ_APIKEY_PUBLIC' if I run pytest test.py

skupriienko commented 1 month ago

@DanyilNefodov Could you please run tests against these changes? Because I'm getting KeyError: 'MJ_APIKEY_PUBLIC' if I run pytest test.py

I was able to run tests

skupriienko commented 1 month ago

I reverted Client error handling to see the whole traceback. Also, I reverted random import. I think for tests, it's fine to use random instead of secrets. And I solved the merge conflict. @DanyilNefodov Could you please look at the PR?