openai/chatkit-python
Publicmirrored from https://github.com/openai/chatkit-pythonAvailable
Makefile
34lines · modeblame
f688d870victor-openai8 months ago | 1 | .PHONY: sync format format-check lint mypy pyright tests gen-docs build-docs serve-docs deploy-docs check |
| 2 | | |
| 3 | install: | |
| 4 | uv sync --all-extras --all-packages --group dev | |
| 5 | | |
| 6 | format: | |
| 7 | uv run ruff format | |
| 8 | uv run ruff check --fix | |
| 9 | | |
| 10 | format-check: | |
| 11 | uv run ruff format --check | |
| 12 | | |
| 13 | lint: | |
| 14 | uv run ruff check | |
| 15 | | |
| 16 | mypy: | |
| 17 | uv run mypy . | |
| 18 | | |
| 19 | pyright: | |
| 20 | uv run pyright | |
| 21 | | |
| 22 | test: | |
| 23 | PYTHONPATH=. uv run pytest | |
| 24 | | |
| 25 | build: | |
| 26 | uv build | |
| 27 | | |
| 28 | serve-docs: | |
| 29 | uv run mkdocs serve | |
| 30 | | |
| 31 | deploy-docs: | |
| 32 | uv run mkdocs gh-deploy --force --verbose | |
| 33 | | |
| 34 | check: format-check lint pyright test |