Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add isort to CI

fowczrek15c4248c9464
diff --git a/.travis.yml b/.travis.yml
index 4f8a271285..aebeeee132 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -60,6 +60,8 @@ matrix:
python: "3.8"
- env: TOXENV=pydocstyle
python: "3.8"
+ - env: TOXENV=isort
+ python: "3.8"
allow_failures:
- env: DJANGO="master"
python: "3.8"
diff --git a/tox.ini b/tox.ini
index 5a27566f57..71217228b7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,6 +34,11 @@ whitelist_externals = sh
commands =
sh -c 'find saleor -name "*.py" -type f | xargs pydocstyle -v'
+[testenv:isort]
+basepython = python3.8
+commands =
+ isort --check-only
+
[testenv:mypy]
basepython = python3.8
deps =