chore(typing): exclude skill dirs from ty analysis#7
Open
RazorBackRoar wants to merge 18 commits intomainfrom
Open
chore(typing): exclude skill dirs from ty analysis#7RazorBackRoar wants to merge 18 commits intomainfrom
RazorBackRoar wants to merge 18 commits intomainfrom
Conversation
Centralize Ruff config through Apps/ruff.toml, add app-local extend shim, and enforce CI guard against reintroducing [tool.ruff] blocks in pyproject.toml. Also aligns local formatting so ruff format --check passes.
Fetch shared Ruff config from razorcore so app-local ruff.toml extend=../ruff.toml resolves in standalone GitHub Actions checkouts.
Materialize ../ruff.toml from repo-local ruff.ci.toml so app-local ruff.toml extends resolve in standalone CI without cross-repo fetches.
Create the expected 3.13 site-packages paths before ty check so strict type checking works on GitHub macOS runners with workspace-pinned ty config.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Tighten Ty type-check scope to exclude workspace skill folders that are not part of 4Charm runtime code.
This prevents non-product
.agent/.sharedscripts from producing noisy diagnostics.Implementation Details
[tool.ty.src]excludes for.agent/**and.shared/**inpyproject.toml.srcand tests.Testing Instructions
ty checkin the 4Charm repo..agentor.sharedpaths.Example commands:
cd /Users/home/Workspace/Apps/4Charm ty checkRelated Issues
Checklist