ruff workflow

This commit is contained in:
John Lancaster
2026-06-21 12:14:46 -05:00
parent caa4a5079a
commit 4320a251f5
+11
View File
@@ -260,6 +260,17 @@ Use this checklist when configuring GitHub Copilot in VS Code against `personal-
6. verify context size remains bounded 6. verify context size remains bounded
7. validate behavior in Ask/Edit/Agent-style workflows with at least one task each 7. validate behavior in Ask/Edit/Agent-style workflows with at least one task each
## Local Ruff Workflow
Use [Ruff](https://docs.astral.sh/ruff/) locally through `uv` so lint and format checks are consistent for contributors.
1. Lint check: `uv run ruff check .`
2. Apply safe lint fixes: `uv run ruff check . --fix`
3. Format files: `uv run ruff format .`
4. Format check (CI-style): `uv run ruff format --check .`
Rule-family baseline for this repository is `E`, `F`, `I`, and `UP`, configured in [pyproject.toml](../pyproject.toml).
Suggested instruction policy text: Suggested instruction policy text:
1. Start with catalog-first discovery. 1. Start with catalog-first discovery.