Skip to content

chore: remove unused dead code#24

Open
nightshift-micr wants to merge 1 commit intoMicrock:mainfrom
nightshift-micr:nightshift/dead-code
Open

chore: remove unused dead code#24
nightshift-micr wants to merge 1 commit intoMicrock:mainfrom
nightshift-micr:nightshift/dead-code

Conversation

@nightshift-micr
Copy link
Copy Markdown

Summary

Removes 3 unused classes and 1 unused enum discovered through dead code analysis.

Removed

  • Claim (models.py) - Pydantic model with zero references across src/ and tests/
  • ClaimOrigin (models.py) - StrEnum only used by the removed Claim class
  • SourceMaterial (parsers.py) - dataclass with zero references
  • MatchResult (taxonomy.py) - dataclass with zero references

Cleanup

  • Removed unused field import from taxonomy.py

Verification

  • All files pass py_compile syntax check
  • ruff check passes with zero violations
  • 3 files changed, 1 insertion(+), 25 deletions(-)

This PR was generated by Nightshift - autonomous code quality bot.

Remove 3 unused classes and 1 unused enum: Claim (models.py), ClaimOrigin (models.py), SourceMaterial (parsers.py), MatchResult (taxonomy.py). Also remove unused field import from taxonomy.py.
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