Run formatting and validation before pushing changes to ensure code quality.Documentation Index
Fetch the complete documentation index at: https://agno-v2-rbac-doc-update.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Format
Format the codebase using ruff:Validate
Lint and type-check using ruff and mypy:Configuration is in
pyproject.toml. Run both scripts before every commit.Pre-commit Workflow
Common Issues
| Issue | Solution |
|---|---|
ruff not found | Run uv pip install ruff |
mypy not found | Run uv pip install mypy |
| Type errors | Fix the types or add # type: ignore comment |
| Import sorting | Run ruff check --fix . to auto-fix |