forked from 00labs/huma-signals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (18 loc) · 909 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: lint, lint-check, test, run-local
lint:
poetry run autoflake --in-place --remove-all-unused-imports --verbose -r huma_signals tests
poetry run black huma_signals tests --target-version py310
poetry run flake8 huma_signals tests --max-line-length 120 --ignore "E203, W503"
poetry run isort huma_signals tests
poetry run mypy --show-error-codes .
poetry run pylint huma_signals
lint-check:
poetry run black huma_signals tests --target-version py310 --check
poetry run flake8 huma_signals tests --max-line-length 120 --ignore "E203, W503"
poetry run isort --check huma_signals tests
poetry run mypy --show-error-codes .
poetry run pylint huma_signals
test:
ENV=test poetry run python3 -m pytest -v --cov=huma_signals --color=yes --cov-report term-missing --ignore=tests/adapters/request_network
run-local:
ENV=development poetry run python3 -m uvicorn huma_signals.api.main:app --reload