ethereum / py-evm

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

Added isort for reorganizing imports #2098

Closed prathmeshranaut closed 1 year ago

prathmeshranaut commented 1 year ago

What was wrong?

Imports are not sorted.

Related to Issue https://github.com/ethereum/py-evm/issues/2094

How was it fixed?

Added isort, a tool to sort imports, in the linting process.

Adding lint setup + linting files would be a large PR to review. I've decided to split it up into two parts. This is first PR. In this PR, I've added isort and related commands to setup.py, Makefile and tox. In the follow up PR, I will be running make lint-roll. It will be easier for repo maintainers to checksum the changes and review the lint changes.

Let me know if I missed anything in the contribution process.

Todo:

Cute Animal Picture

white-rabbit-24093391