-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (31 loc) · 875 Bytes
/
Makefile
File metadata and controls
38 lines (31 loc) · 875 Bytes
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
help:
@echo "カメラシステムを実行する"
@echo " $$ make run"
@echo "Pytestを実行する"
@echo " $$ make test"
@echo "全てのソースコードをフォーマットする"
@echo " $$ make format"
@echo "全てのソースコードのスタイルをチェックする"
@echo " $$ make check_style"
@echo "test, format, check_styleを行う"
@echo " $$ make all"
@echo "カバレッジレポートの表示"
@echo " $$ make coverage"
run:
poetry run python src
test:
poetry run pytest -W ignore::DeprecationWarning
format:
poetry run python -m autopep8 -i -r src/ tests/
check_style:
poetry run python -m pycodestyle src/ tests/
poetry run python -m pydocstyle src/ tests/
coverage:
poetry run coverage run -m pytest
poetry run coverage report -i
all:
make format
make test
make check_style
snap:
poetry run python src/robo_snap.py