diff makefile @ 1506:37cbb245d93c

fix tests. add logging, some mypy types. Ignore-this: 61371f65438a4e77f70d21cc5d5193bf
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 28 Mar 2017 07:48:10 +0000
parents 185f3e2208c3
children df1237c39672
line wrap: on
line diff
--- a/makefile	Tue Mar 28 05:04:07 2017 +0000
+++ b/makefile	Tue Mar 28 07:48:10 2017 +0000
@@ -102,3 +102,11 @@
 
 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