From 6125085d621c69c563012f244ef3a5ee7bff3df1 Mon Sep 17 00:00:00 2001 From: Prathmesh Ranaut Date: Wed, 26 Apr 2023 09:29:36 +0530 Subject: [PATCH] Added isort check to tox --- newsfragments/2094.internal.rst | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) create mode 100644 newsfragments/2094.internal.rst diff --git a/newsfragments/2094.internal.rst b/newsfragments/2094.internal.rst new file mode 100644 index 000000000..12ea13495 --- /dev/null +++ b/newsfragments/2094.internal.rst @@ -0,0 +1 @@ +Added [isort](https://pycqa.github.io/isort/) for automatically sorting python imports. \ No newline at end of file diff --git a/tox.ini b/tox.ini index 5dceb0853..4d0184f8e 100644 --- a/tox.ini +++ b/tox.ini @@ -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