-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (31 loc) · 737 Bytes
/
Copy pathMakefile
File metadata and controls
39 lines (31 loc) · 737 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
# Default target: show all available targets
.PHONY: help
help:
@echo "Available targets:"
@awk '/^[a-zA-Z0-9_\-]+:/ && !/^\./ {print " " $$1}' $(MAKEFILE_LIST) | sed 's/://'
.DEFAULT_GOAL := help
.PHONY: fmt
fmt:
uv run python -m ruff format
uv run python -m ruff check . --fix
.PHONY: fmt-check
fmt-check:
uv run python -m ruff format --check
uv run python -m ruff check .
.PHONY: mypy
mypy:
uv run python -m mypy --config-file pyproject.toml src/
.PHONY: lint
lint:
uv run python -m ruff check .
.PHONY: lint-fix
lint-fix:
uv run python -m ruff check . --fix
.PHONY: dist
dist: clean
uv run python -m build --wheel --installer uv
.PHONY: clean
clean:
rm -rf dist/
rm -rf build/
rm -rf src/flyte_migrate.egg-info