-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 879 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (27 loc) · 879 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
.PHONY: install test test-sync lint typecheck build clean
install:
uv sync --all-packages
test:
uv run pytest tests/ -p no:skipper -x
test-sync:
SKIPPER_MODE=sync uv run pytest tests/ -p no:skipper -x
lint:
uv run ruff check .
uv run ruff format --check .
lint-fix:
uv run ruff check --fix .
uv run ruff format .
typecheck:
uv run mypy \
packages/skipper-core/src \
packages/skipper-pytest/src \
packages/skipper-unittest/src \
packages/skipper-playwright/src
build:
uv build --all-packages
clean:
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true
find . -type d -name dist -exec rm -rf {} + 2>/dev/null || true
find . -type d -name .pytest_cache -exec rm -rf {} + 2>/dev/null || true
find . -type d -name .mypy_cache -exec rm -rf {} + 2>/dev/null || true