-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2/3] Linted file with isort in eth and tests directory #2099
[2/3] Linted file with isort in eth and tests directory #2099
Conversation
6999ad2
to
b57af94
Compare
f9d16e6
to
ef9b573
Compare
dfcea1a
to
cbb591d
Compare
c5625e9
to
e23faf1
Compare
@pacrob Rebased with master and is ready for review. |
Hey @prathmeshranaut, thanks for moving on this. We're working on a refactor related to #2089, and it'll much easier get that merged then re-lint-roll than the other way around. I'll comment back here when we're ready to apply. Thanks! |
ffc4e18
to
928cb1f
Compare
928cb1f
to
2f421ce
Compare
Thanks for your help on this @prathmeshranaut ! I decided to just cherry-pick the "adding isort to tox" commit into this PR and made a couple small tweaks, and it should be ready to go! |
…e for isorting commit
19286ad
to
cf14239
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍🏼. Slight preference for putting the isort
config into its own .isort.cfg
file to keep tox.ini
focused on tox-specific configs but we can figure that out at the template level later.
What was wrong?
Imports are not sorted.
Closes Issue #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 3 parts.
First PR
This is second PR of a two part linting rollout. In this PR, I ran
make lint-roll
.In order to validate and review the PR quickly, you can checksum
eth
andtests
directory.Let me know if I missed anything in the contribution process.
Todo:
Clean up commit history
Add or update documentation related to these changes
Add entry to the release notes
Cute Animal Picture