ethereum / py-evm

A Python implementation of the Ethereum Virtual Machine
https://py-evm.readthedocs.io/en/latest/
MIT License
2.27k stars 656 forks source link

Add `black`, run `isort` on `scripts` #2107

Closed pacrob closed 1 year ago

pacrob commented 1 year ago

What was wrong?

Most ethereum py libraries already use black for linting, this brings py-evm into the light. When isort was added, it skipped the scripts folder.

Note: branch name indicates this PR was to originally include bumping flake8 as well, but there were so many additional changes that I decided to move it to a separate PR.

How was it fixed?

Added black to lint dependencies and ran it. Many lines had to be adjusted by hand from length <=100 to <= 88. isorted the scripts folder.

Todo:

Cute Animal Picture

image

fselmo commented 1 year ago

Nothing else to add, lgtm 👍🏼