Skip to content

Commit

Permalink
Added isort check to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
prathmeshranaut authored and pacrob committed May 4, 2023
1 parent 2f421ce commit 6125085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions newsfragments/2094.internal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added [isort](https://pycqa.github.io/isort/) for automatically sorting python imports.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ deps: .[eth,lint]
commands:
flake8 {toxinidir}/eth {toxinidir}/tests {toxinidir}/scripts
mypy -p eth --config-file {toxinidir}/mypy.ini
isort --check-only --diff {toxinidir}/eth/ {toxinidir}/tests/

[testenv:lint]
basepython: python
Expand Down

0 comments on commit 6125085

Please sign in to comment.