systemcatch / eiapy

A simple wrapper for the U.S. Energy Information Administration API
https://pypi.org/project/eiapy/
MIT License
23 stars 8 forks source link

refactor: reformat Python code using Python 3.6+ syntax #27

Open shuuji3 opened 2 years ago

shuuji3 commented 2 years ago

Hello, I knew this library through the electricity-map. 🙂

resolves #15

This PR apply pyupgrade with python 3.6+ option so that it can use f-string as well as other simpler expressions.

I run pyupgrade with this command: pipx run pyupgrade --py36-plus *.py.

Also, I updated tox.ini config.