Add agent support templates and profiles
This commit is contained in:
36
profiles/python.md
Normal file
36
profiles/python.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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/
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user