-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (23 loc) · 864 Bytes
/
Makefile
File metadata and controls
31 lines (23 loc) · 864 Bytes
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
.PHONY: lint lint-check format format-check typecheck lint-ui install-ui-deps
all: lint format typecheck lint-ui
lint:
$(info ****************** linting ******************)
uv run ruff check --fix
lint-check:
$(info ****************** checking linting ******************)
uv run ruff check
format:
$(info ****************** formatting ******************)
uv run ruff format
format-check:
$(info ****************** checking formatting ******************)
uv run ruff format --check
typecheck:
$(info ****************** type checking ******************)
uv run ty check src/investments_review/
lint-ui: install-ui-deps
$(info ****************** linting UI ******************)
cd ui/ && pnpm run lint && cd ..
install-ui-deps:
$(info ****************** installing UI deps ******************)
cd ui/ && pnpm install --no-frozen-lockfile && cd ..