-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (41 loc) 路 839 Bytes
/
Copy pathMakefile
File metadata and controls
53 lines (41 loc) 路 839 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.PHONY: test
test:
uv run pytest tests --doctest-modules --cov=abrechnung
.PHONY: dev-web
dev-web:
pnpm --filter web run dev
.PHONY: format
format:
uv run ruff format
npx oxfmt
.PHONY: check-format
check-format:
uv run ruff format --check
.PHONY: check-format-frontend
check-format-frontend:
npx oxfmt --check
.PHONY: lint
lint: pylint typecheck ruff
.PHONY: pylint
pylint:
uv run pylint ./**/*.py
.PHONY: ruff
ruff:
uv run ruff check
.PHONY: ruff-fix
ruff-fix:
uv run ruff check --fix
.PHONY: typecheck
typecheck:
uv run ty check
.PHONY: docs
docs:
uv run sphinx-build docs docs/_build
.PHONY: serve-docs
serve-docs:
uv run sphinx-autobuild docs docs/_build
.PHONY: generate-openapi
generate-openapi:
mkdir -p api
uv run abrechnung -c config.yaml show-openapi > api/openapi.json
pnpm -w -r run generate-openapi