-
Notifications
You must be signed in to change notification settings - Fork 157
/
Makefile
29 lines (21 loc) · 648 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
.PHONY: docs
black:
black -l 90 mqtt_io
clean:
find mqtt_io -type d -name __pycache__ -prune -exec rm -rf {} \;
rm -rf dist .eggs .mypy_cache .pytest_cache *.egg-info
graphs:
dot -Tsvg -O interrupt_handling.dot
dot -Tsvg -O interrupt_callbacks.dot
coverage:
poetry run coverage run --source "." --omit "mqtt_io/tests/*,mqtt_io/modules/*" -m behave mqtt_io/tests/features -t ~skip
poetry run coverage report -m
lint:
poetry run pylint -d fixme mqtt_io
poetry run mypy --show-error-codes --strict --no-warn-unused-ignores mqtt_io
build:
poetry build
publish: build
poetry publish
docs:
poetry run python docs_src/generate_docs.py