eiapy icon indicating copy to clipboard operation
eiapy copied to clipboard

refactor: reformat Python code using Python 3.6+ syntax

Open shuuji3 opened this issue 1 year ago • 0 comments

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.

shuuji3 avatar Jul 18 '22 11:07 shuuji3