Skip to content

Commit 0a38b24

Browse files
2witstudiosclaude
andcommitted
fix: Allow clippy::too_many_arguments on extracted functions
The print_agent_def_detail and print_schedule_detail functions mirror the Response enum variant fields directly. Adding the allow attribute satisfies CI clippy (-D warnings) without restructuring the API. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8c4cd89 commit 0a38b24

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

crates/pu-cli/src/output/definitions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pub(crate) fn print_template_detail(
4848
print!("{body}");
4949
}
5050

51+
#[allow(clippy::too_many_arguments)]
5152
pub(crate) fn print_agent_def_detail(
5253
name: &str,
5354
agent_type: &str,

crates/pu-cli/src/output/execution.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ pub(crate) fn print_schedule_list(schedules: &[ScheduleInfo]) {
183183
}
184184
}
185185

186+
#[allow(clippy::too_many_arguments)]
186187
pub(crate) fn print_schedule_detail(
187188
name: &str,
188189
enabled: bool,

0 commit comments

Comments
 (0)