-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (32 loc) · 753 Bytes
/
Makefile
File metadata and controls
37 lines (32 loc) · 753 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
.PHONY: clean
clean:
find . -type f -name '*.pyc' -delete
find . -type d -name '__pycache__' -delete
find packages -type d -name 'build' -exec rm -rf {} +
find packages -type d -name 'dist' -exec rm -rf {} +
find packages -type d -name '*.egg-info' -exec rm -rf {} +
.PHONY: install
install:
./scripts/prepare-dev.sh --clean
./scripts/build-info.sh
.PHONY: dev-install
dev-install:
pip install -r requirements.dev.txt
.PHONY: spelling
spelling:
cspell \
--no-progress \
--no-summary \
--config .cspell/cspell.json \
packages/**/*.py \
packages/**/*.md \
packages/**/*.json \
packages/**/*.toml \
packages/**/*.yml \
packages/**/*.yaml
.PHONY: lint
lint:
uv run ruff check
.PHONY: type-check
type-check:
uv run ty check