Commit | Line | Data |
---|---|---|
1 | .PHONY: style-check test | |
2 | ||
3 | style-check: | |
4 | flake8 --max-complexity 6 ./diaspy/ | |
5 | ||
6 | test: | |
7 | python3 -m unittest --verbose --catch --failfast tests.py | |
8 | ||
9 | test-python2: | |
10 | python2 -m unittest --verbose --catch --failfast tests.py | |
11 | ||
12 | clean: | |
13 | rm -rv diaspy/__pycache__/ | |
14 | rm -rv diaspy/*.pyc | |
15 | rm -rv ./__pycache__/ | |
16 | rm -rv *.pyc |