Skip to content

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

Fix mypy

fowczrekcf67999cdc31
diff --git a/tox.ini b/tox.ini
index d6f920ed04..fa288f1e97 100644
--- a/tox.ini
+++ b/tox.ini
@@ -41,10 +41,11 @@ commands =
[testenv:mypy]
basepython = python3.8
+whitelist_externals = sh
deps =
-rrequirements_dev.txt
commands =
- mypy saleor
+ sh -c 'find saleor -name "*.py" -type f ! -path "*tests*" | xargs mypy'
[testenv:check_gql_schema]
basepython = python3.8