freelance-project-34-market.../docker/checks/Makefile
Siarhei Siniak 7f2f0cbda3 [+] update checks service
1. make metrics in commands_typed
    be agnostic of fastapi, django;
  2. implement ping wrapper for rest.py in checks;
  3. use env settings to specify hosts to ping;
  4. add pyright, ruff into Makefile;
  5. test in production;
2025-08-29 11:45:23 +03:00

29 lines
480 B
Makefile

venv_compile:
uv pip compile \
-p 3.12 \
--generate-hashes \
-f deps/whl \
requirements.in > \
requirements.txt
venv:
uv venv -p 3.12 .venv
uv pip install \
-p .venv/bin/python3 \
-f deps/whl \
-r requirements.txt
PYRIGHT_CMD ?= --threads 3
pyright:
.venv/bin/python3 \
-m pyright \
--pythonpath .venv/bin/python3 \
-p pyproject.toml \
$(PYRIGHT_CMD) \
.
RUFF_CMD ?= format
ruff:
.venv/bin/python3 -m ruff --config pyproject.toml $(RUFF_CMD) .