Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

chore(pre-commit): Add --all-targets to clippy hook

Maximilian Roosadc9dde355b1
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 6b3d09a15..77a265f2e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -23,7 +23,7 @@ repos:
rev: v1.0.1
hooks:
- id: clippy
- args: ["--", "-D", "warnings"]
+ args: ["--all-targets", "--", "-D", "warnings"]
- repo: https://github.com/tcort/markdown-link-check
rev: v3.14.1
hooks:
diff --git a/src/commands/list/render.rs b/src/commands/list/render.rs
index 183edc540..694352134 100644
--- a/src/commands/list/render.rs
+++ b/src/commands/list/render.rs
@@ -426,13 +426,6 @@ pub fn format_list_item_line(
#[cfg(test)]
mod tests {
use super::*;
- use crate::commands::list::layout::{ColumnWidths, LayoutConfig};
- use crate::commands::list::model::{
- AheadBehind, BranchDiffTotals, CommitDetails, UpstreamStatus, WorktreeInfo,
- };
- use crate::display::shorten_path;
- use std::path::PathBuf;
- use worktrunk::styling::StyledLine;
#[test]
fn test_format_diff_column_pads_to_total_width() {