File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .PHONY : install-uv
2+ install-uv :
3+ curl -LsSf https://astral.sh/uv/install.sh | sh
4+
5+ .PHONY : install-linter
6+ install-linter :
7+ curl -LsSf https://astral.sh/ruff/install.sh | sh
8+
9+ .PHONY : install-type-checker
10+ install-type-checker :
11+ uv add --dev ty
12+
13+ .PHONY : install-import-linter
14+ install-import-linter :
15+ uv add --dev import-linter
16+
17+ .PHONY : lint
118lint :
219 ruff check
320
21+ .PHONY : lint-imports
422lint-imports :
523 uv run lint-imports --verbose --config src/micromanager/.importlinter
624
25+ .PHONY : format
726format :
827 ruff format ./
928
29+ .PHONY : type-check
1030type-check :
1131 uv run ty check --exclude src/micromanager/tests/
1232
33+ .PHONY : test
1334test :
1435 uv run python -m unittest discover -v src/micromanager/tests/unit
1536
37+ .PHONY : test-integration
1638test-integration :
1739 uv run python -m unittest discover -v src/micromanager/tests/integration
1840
41+ .PHONY : install-local-package
1942install-local-package :
2043 uv pip install -e .
2144
45+ .PHONY : build
2246build :
2347 uv build
2448
49+ .PHONY : publish
2550publish :
2651 uv publish
2752
53+ .PHONY : clean
2854clean :
2955 rm -rf dist/
3056 rm -rf src/compose_micromanager.egg-info/
3157 rm -rf src/micromanager.egg-info
3258
59+ .PHONY : start
3360start :
3461 uv run typer src/micromanager/main.py run start
3562
63+ .PHONY : stop
3664stop :
3765 uv run typer src/micromanager/main.py run stop
3866
67+ .PHONY : status
3968status :
4069 uv run typer src/micromanager/main.py run status
4170
71+ .PHONY : help
4272help :
4373 uv run typer src/micromanager/main.py run --help
4474
75+ .PHONY : start-documentation-server
4576start-documentation-server :
4677 uv run python -m mkdocs serve
4778
79+ .PHONY : deploy-documentation
4880deploy-documentation :
4981 uv run python -m mkdocs gh-deploy --config-file mkdocs.yml
You can’t perform that action at this time.
0 commit comments