commit | 22d134e73fc5f6fe96faccbec6830119fe3f0f18 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Tue Nov 08 11:33:19 2016 +0200 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Tue Nov 08 11:33:19 2016 +0200 |
tree | 2ae9339613cbc68e1cff68f49479a6f9139c1f60 | |
parent | 3b4da8b000263e22c8cb000a4572ec546171a504 [diff] [blame] |
typing and refactoring on the way
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b14cd96 --- /dev/null +++ b/Makefile
@@ -0,0 +1,8 @@ +.PHONY: mypy + + +ALL_FILES=$(shell find wally/ -type f -name '*.py') +STUBS="stubs:.env/lib/python3.5/site-packages" + +mypy: + bash -c "cd ~/workspace/wally; source .env/bin/activate ; MYPYPATH=${STUBS} python3 -m mypy -s ${ALL_FILES}"