Remove clippy too_many_lines lint and decompose long functions (#7064)

This commit is contained in:
Bradley Axen
2026-02-06 20:10:24 -08:00
committed by GitHub
parent 948cb91d54
commit b18120bec3
12 changed files with 256 additions and 412 deletions
+3 -3
View File
@@ -142,7 +142,7 @@ If you're new to Rust, configure your AI tool to help you learn:
This is a Rust project using cargo workspaces.
- Follow existing error handling patterns using anyhow::Result
- Use async/await for I/O operations
- Follow the project's clippy lints (see clippy-baselines/)
- Follow the project's clippy lints (see clippy.toml)
- Run cargo fmt before committing
```
@@ -240,7 +240,7 @@ cargo build -p goose-mcp
cargo test -p goose-mcp
# Run clippy
./scripts/clippy-lint.sh
cargo clippy --all-targets -- -D warnings
```
### Example 2: Fixing a Rust Compiler Error
@@ -314,4 +314,4 @@ cargo build -p goose-cli -p goose
# Run tests
cargo test -p goose-cli
```
```