Apache DataFusion SQL Query Engine
docs: Add explicit fmt and clippy commands to AGENTS.md (#21171)
Qi Zhu6980fcf1e3ab
diff --git a/AGENTS.md b/AGENTS.mdindex acb0cbccae..9dff7f6f1f 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -15,6 +15,24 @@ Before committing any changes, you MUST follow the instructions inand ensure the required checks listed there pass. Do not commit code thatfails any of those checks.+At a minimum, you MUST run and fix any errors from these commands before+committing:++```bash+# Format code+cargo fmt --all++# Lint (must pass with no warnings)+cargo clippy --all-targets --all-features -- -D warnings+```++You can also run the full lint suite used by CI:++```bash+./dev/rust_lint.sh+# or auto-fix: ./dev/rust_lint.sh --write --allow-dirty+```+When creating a PR, you MUST follow the [PR template](.github/pull_request_template.md).## Testing