-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 1.02 KB
/
Makefile
File metadata and controls
23 lines (17 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: black style validate test install serve
install:
uv pip install -e .
black:
uv run black manul_agents --line-length 120
validate:
uv run black . --line-length 120
uv run flake8 src --count --statistics
uv run flake8 tests --count --statistics
uv run mypy src --strict --explicit-package-bases
uv run mypy tests --strict --explicit-package-bases
test:
uv run pytest -s
serve:
uv run python -m src.bot --bot-config-path configs/bot_prod.json --providers-config-path configs/providers.json --db-path db.sqlite --characters-path configs/characters.json --yookassa-config-path configs/yookassa.json --localization-config-path configs/localization.json --tools-config-path configs/tools_prod.json
serve-test:
uv run python -m src.bot --bot-config-path configs/bot_test.json --providers-config-path configs/providers.json --db-path test_db.sqlite --characters-path configs/characters.json --yookassa-config-path configs/yookassa.json --localization-config-path configs/localization.json --tools-config-path configs/tools.json