Skip to content

fix: keep ruff and ty out of .worktrees - #62

Merged
catinspace-au merged 1 commit into
mainfrom
fix/exclude-worktrees-from-lint
Oct 5, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/exclude-worktrees-from-lint

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

A local hyperi-ci check failed on other checkouts parked under .worktrees/, because ruff and ty walked into them. This adds .worktrees to ruff extend-exclude and to ty's src.exclude.

Checked with a checkout nested under .worktrees/: ruff check --show-files lists 22 files and none under .worktrees/, and hyperi-ci check --quick ends quality complete with ty passing.

Closes #37.

Worktrees parked under .worktrees/ are other checkouts of this repo, and ruff and ty were linting them, so a local hyperi-ci check failed on code that is not ours. Both tools now exclude the directory. Closes #37.
@catinspace-au
catinspace-au merged commit 3d6428e into main Oct 5, 2026
21 checks passed
@catinspace-au
catinspace-au deleted the fix/exclude-worktrees-from-lint branch October 5, 2026 22:20
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

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.

fix: ruff and ty scan .worktrees, so a local check fails on code that is not ours

1 participant