Created
March 31, 2025 05:58
-
-
Save mohitsethi/be65eddd80d002fcde507a45b8cad655 to your computer and use it in GitHub Desktop.
Make File for openai agents
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .PHONY: sync | |
| sync: | |
| uv sync --all-extras --all-packages --group dev | |
| .PHONY: format | |
| format: | |
| uv run ruff format | |
| uv run ruff check --fix | |
| .PHONY: lint | |
| lint: | |
| uv run ruff check | |
| .PHONY: mypy | |
| mypy: | |
| uv run mypy . | |
| .PHONY: tests | |
| tests: | |
| uv run pytest | |
| .PHONY: coverage | |
| coverage: | |
| uv run coverage run -m pytest | |
| uv run coverage xml -o coverage.xml | |
| uv run coverage report -m --fail-under=95 | |
| .PHONY: snapshots-fix | |
| snapshots-fix: | |
| uv run pytest --inline-snapshot=fix | |
| .PHONY: snapshots-create | |
| snapshots-create: | |
| uv run pytest --inline-snapshot=create | |
| .PHONY: old_version_tests | |
| old_version_tests: | |
| UV_PROJECT_ENVIRONMENT=.venv_39 uv run --python 3.9 -m pytest | |
| .PHONY: build-docs | |
| build-docs: | |
| uv run mkdocs build | |
| .PHONY: serve-docs | |
| serve-docs: | |
| uv run mkdocs serve | |
| .PHONY: deploy-docs | |
| deploy-docs: | |
| uv run mkdocs gh-deploy --force --verbose | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment