Skip to content

feat: add unused-file expectations - #108

Merged
longlho merged 1 commit into
mainfrom
codex/add-expect-error-comment
Jul 30, 2026
Merged

longlho merged 1 commit into
mainfrom
codex/add-expect-error-comment

Conversation

@longlho

@longlho longlho commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add // codescythe-expect-error unused-file -- <reason> for intentionally detached files
  • suppress expected unused-file findings without deleting those files in fix mode
  • fail when an expected-unused file becomes reachable from an entry point
  • document the directive and cover library plus CLI behavior

Validation

  • bazel test //crates/codescythe:codescythe_test //crates/codescythe_cli:codescythe_cli_e2e_test --test_output=errors
  • cargo fmt --all -- --check
  • PR_TITLE='feat: add unused-file expectations' lefthook run pre-commit --force
  • docs render with node --experimental-transform-types docs/src/render.ts

@longlho
longlho marked this pull request as ready for review July 30, 2026 02:28
@longlho
longlho merged commit 7496faf into main Jul 30, 2026
2 checks passed
@longlho
longlho deleted the codex/add-expect-error-comment branch July 30, 2026 02:28
longlho pushed a commit that referenced this pull request Jul 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.10.0](codescythe_cli_v0.9.0...codescythe_cli_v0.10.0)
(2026-07-30)


### Features

* add unused-file expectations
([#108](#108))
([7496faf](7496faf))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant