-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
39 lines (31 loc) · 870 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
30
31
32
33
34
35
36
37
38
39
MAKEFLAGS += --silent
UV_INSTALL_FLAGS :=
.PHONY: all
all:
.PHONY: install
install:
uv pip install $(UV_INSTALL_FLAGS) -r requirements.txt
.PHONY: install-dev
install-dev:
uv pip install $(UV_INSTALL_FLAGS) -r requirements-dev.txt
.PHONY: pip-compile
pip-compile:
uv pip compile --upgrade requirements.in -o requirements.txt
uv pip compile --upgrade requirements-dev.in -o requirements-dev.txt
.PHONY: ci-check
ci-check:
# @echo "========== check: mypy =========="
# mypy -p plugin
@echo "========== check: ruff (lint) =========="
ruff check --diff .
@echo "========== check: ruff (format) =========="
ruff format --diff .
.PHONY: ci-fix
ci-fix:
@echo "========== fix: ruff (lint) =========="
ruff check --fix .
@echo "========== fix: ruff (format) =========="
ruff format .
.PHONY: update-schema
update-schema:
python3 ./scripts/update_schema.py