Skip to content

refactor: cleanup - #6

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
automation/opencode-cleanup-41537468070-1
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
automation/opencode-cleanup-41537468070-1

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Skip parametrization analysis entirely for modules with collection hooks, removing invariant analyzer state while preserving module-level exemptions.
  • Append query and endpoint diagnostics directly to their owning analyzers instead of returning temporary finding lists.
  • Reuse completed branch maps during binding merges instead of copying them unnecessarily.
  • Remove the test requiring test filenames to mirror source modules; retain public API and package typing checks.
  • Add regression coverage for synchronous and asynchronous collection hooks, nested hook names, and matching or conflicting nested branch provenance and contracts.

Validation

  • Full test suite: 415 passed.
  • Required uvx pyunslop: passed after installing tooling in an isolated environment outside the repository.
  • Local implementation, python -m pyunslop: passed with no warnings.
  • Ruff lint on all seven changed files: passed.
  • git diff --check: passed.
  • Repository-wide ruff check .: failed with four pre-existing findings concerning builtin shadowing and import ordering. The same findings were confirmed against the original commit.
  • Repository-wide ruff format --check .: failed, reporting 28 files requiring formatting. The original commit reports the same 28 files; unrelated formatting was left unchanged.

Remaining limitations: repository-wide Ruff checks are not clean because of existing issues. Verification used Python 3.14; the project's other supported Python versions were not exercised in this session.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant