generated from MrSphay/codex-agent-repository-kit
37 lines
578 B
Markdown
37 lines
578 B
Markdown
# Python Profile
|
|
|
|
Use when the repository has `pyproject.toml`, `requirements.txt`, or Python source files.
|
|
|
|
## Commands
|
|
|
|
Prefer existing tooling. Common examples:
|
|
|
|
```text
|
|
INSTALL_COMMAND = python -m pip install -r requirements.txt
|
|
LINT_COMMAND = ruff check .
|
|
TEST_COMMAND = pytest
|
|
BUILD_COMMAND = python -m build
|
|
AUDIT_COMMAND = pip-audit
|
|
```
|
|
|
|
If the project uses `uv`, prefer:
|
|
|
|
```text
|
|
INSTALL_COMMAND = uv sync
|
|
TEST_COMMAND = uv run pytest
|
|
AUDIT_COMMAND = uv pip audit
|
|
```
|
|
|
|
## Ignore Additions
|
|
|
|
```text
|
|
.venv/
|
|
venv/
|
|
__pycache__/
|
|
.pytest_cache/
|
|
dist/
|
|
build/
|
|
*.egg-info/
|
|
```
|
|
|