-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (33 loc) · 783 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.PHONY: chain
chain:
bash scripts/start_chain
.PHONY: manual
manual:
bash start_chain manual
.PHONY: style
style:
autopep8 --in-place *.py tests/*.py
.PHONY: lint
lint:
MYPYPATH="stubs" mypy --show-traceback --ignore-missing-imports EntryPoint.py ExitPoint.py Mix.py tests/*.py
flake8 --ignore E501,SF01 *.py */*.py
pylint3 --rcfile config/pylint3.cfg *.py */*.py
.PHONY: stop
stop:
bash scripts/stop_chain
.PHONY: test
test: chain
bash scripts/start_tests
.SILENT: delay-test
.PHONY: delay-test
delay-test: chain test-delay stop
test-delay:
PYTHONPATH="." tests/Delay_Test.py
.PHONY: coverage
coverage: export PYTHONPATH=.
coverage:
py.test --cov=. tests/*_test.py
.PHONY: function-test
function-test: export PYTHONPATH=.
function-test:
py.test tests/*_test.py