diff --git a/makefile b/makefile --- a/makefile +++ b/makefile @@ -102,3 +102,11 @@ effect_node_setup: create_virtualenv pac coffee: zsh -c 'coffee -cw light9/web/{.,live,timeline}/*.coffee' + +env-mypy/bin/mypy: + mkdir -p env-mypy + virtualenv -p /usr/bin/python3 env-mypy/ + env-mypy/bin/pip install mypy==0.501 lxml==3.7.3 + +mypy-collector: env-mypy/bin/mypy + env-mypy/bin/mypy --py2 --ignore-missing-imports --strict-optional --custom-typeshed-dir stubs --html-report /tmp/rep bin/collector light9/collector/*.py