Skip to content

Switch complexipy to local hook#155

Merged
Oaklight merged 2 commits into
masterfrom
chore/complexipy-local-hook
May 15, 2026
Merged

Switch complexipy to local hook#155
Oaklight merged 2 commits into
masterfrom
chore/complexipy-local-hook

Conversation

@Oaklight
Copy link
Copy Markdown
Owner

Summary

  • Replace complexipy pre-commit repo hook with local hook
  • The repo hook's -e flag does not recursively exclude subdirectories, so vendored subpackages still get scanned
  • Local hook with explicit scan paths (src/toolregistry tests) and -e _vendor works correctly

Test plan

  • pre-commit run complexipy --all-files passes

Oaklight added 2 commits May 15, 2026 06:25
The pre-commit repo hook's -e flag does not recursively exclude
subdirectories, causing vendor subpackages to be scanned. Using a
local hook with explicit paths avoids this issue.
@Oaklight Oaklight merged commit 044642b into master May 15, 2026
3 checks passed
@Oaklight Oaklight deleted the chore/complexipy-local-hook branch May 15, 2026 11:33
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