Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add mypy to travis configuration
IKarbowiak796403711b56
diff --git a/.travis.yml b/.travis.ymlindex f92bffb6f2..1cff12e6f4 100644--- a/.travis.yml+++ b/.travis.yml@@ -47,6 +47,8 @@ matrix:python: "3.8"- env: TOXENV=flake8python: "3.8"+ - env: TOXENV=mypy+ python: "3.8"- env: TOXENV=check_gql_schemapython: "3.8"- env: TOXENV=check_migrationsdiff --git a/tox.ini b/tox.iniindex 622c92db12..707018a5a8 100644--- a/tox.ini+++ b/tox.ini@@ -35,6 +35,14 @@ whitelist_externals = shcommands =sh -c 'find saleor -name "*.py" -type f | xargs pydocstyle -v'+[testenv:mypy]+basepython = python3.8+deps =+ mypy>=0.740+ django-stubs>=1.2+commands =+ mypy saleor+[testenv:check_gql_schema]basepython = python3.8whitelist_externals = sh