Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 0 additions & 67 deletions clippy-baselines/cognitive_complexity.txt

This file was deleted.

1 change: 0 additions & 1 deletion crates/goose/src/providers/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ fn check_context_length_exceeded(text: &str) -> bool {
.any(|phrase| text_lower.contains(phrase))
}

#[allow(clippy::cognitive_complexity)]
pub fn map_http_error_to_provider_error(
status: StatusCode,
payload: Option<Value>,
Expand Down
1 change: 0 additions & 1 deletion scripts/clippy-baseline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
# 2. Generate baseline: ./scripts/clippy-baseline.sh generate clippy::your_rule

BASELINE_RULES=(
"clippy::cognitive_complexity|function_name"
"clippy::too_many_lines|function_name"
)

Expand Down
Loading