Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Add mypy tests to tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
ymyzk committed Sep 24, 2016
1 parent 8a3ae00 commit 7060f36
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = {py27,py33,py34,pypy,pypy3}-django18, {py27,py34,py35,pypy}-django{19,110}, coverage, docs, flake8
envlist = {py27,py33,py34,pypy,pypy3}-django18, {py27,py34,py35,pypy}-django{19,110}, coverage, docs, flake8, mypy-py{2,3}
; https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django

[testenv]
Expand Down Expand Up @@ -35,3 +35,13 @@ commands =
basepython = python2.7
deps = flake8
commands = flake8 channels/

[testenv:mypy-py2]
basepython = python2.7
deps = mypy-lang
commands = mypy --py2 --silent-imports -m channels

[testenv:mypy-py3]
basepython = python3.5
deps = mypy-lang
commands = mypy --silent-imports -m channels

0 comments on commit 7060f36

Please sign in to comment.