From 29c622ca47a8bda25e4d9bd33c1312bc0d05e4f6 Mon Sep 17 00:00:00 2001 From: Lee Dogeon Date: Tue, 1 Sep 2026 10:03:56 +0900 Subject: [PATCH] Document separate C-API Clippy checks (#8615) Assisted-by: Codex:gpt-5.6-sol --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 694fc7be6..80a79d61c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -123,6 +123,10 @@ cargo test --workspace --exclude rustpython_wasm --exclude rustpython-venvlaunch # Run C-API tests from their directory so their separate Cargo config applies (cd crates/capi && cargo test) +# Run Clippy with the same C-API separation +cargo clippy --workspace --all-targets --exclude rustpython_wasm --exclude rustpython-venvlauncher --exclude rustpython-capi +(cd crates/capi && cargo clippy --all-targets) + # Run Python snippets tests (debug mode recommended for faster compilation) cargo run -- extra_tests/snippets/builtin_bytes.py