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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
cargo install cargo-llvm-cov --locked
cargo install cargo-audit --locked
cargo install cargo-mutants --locked
cargo install slophammer-rs --version 0.1.0 --locked
cargo install slophammer-rs --version 0.3.0 --locked

- name: Install Node
uses: actions/setup-node@v5
Expand Down
12 changes: 8 additions & 4 deletions slophammer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ rust:
- "target/**"
- "tests/**"
- "fixtures/**"
- "captures/**"
- pattern: "captures/**"
reason: recorded terminal captures and capture tooling, not shipped code
complexity:
cognitive_max: 8
targets:
Expand All @@ -16,18 +17,21 @@ rust:
- "target/**"
- "tests/**"
- "fixtures/**"
- "captures/**"
- pattern: "captures/**"
reason: recorded terminal captures and capture tooling, not shipped code
dry:
max_findings: 0
paths:
- src
exclude:
- "src/test_fixtures.rs"
- pattern: "src/test_fixtures.rs"
reason: shared test fixture data exercised only from tests
- "**/*_test.rs"
- "target/**"
- "tests/**"
- "fixtures/**"
- "captures/**"
- pattern: "captures/**"
reason: recorded terminal captures and capture tooling, not shipped code
copied_blocks:
enabled: true
min_tokens: 100
Expand Down