Skip to content

chore(typing): exclude skill dirs from ty analysis#7

Open
RazorBackRoar wants to merge 18 commits intomainfrom
codex/ty-scope-4charm-20260218
Open

chore(typing): exclude skill dirs from ty analysis#7
RazorBackRoar wants to merge 18 commits intomainfrom
codex/ty-scope-4charm-20260218

Conversation

@RazorBackRoar
Copy link
Owner

Description

Tighten Ty type-check scope to exclude workspace skill folders that are not part of 4Charm runtime code.
This prevents non-product .agent/.shared scripts from producing noisy diagnostics.

Implementation Details

  • Added [tool.ty.src] excludes for .agent/** and .shared/** in pyproject.toml.
  • Kept Ty checks focused on first-party app code under src and tests.
  • No runtime code changes.

Testing Instructions

  • Run ty check in the 4Charm repo.
  • Confirm no unresolved diagnostics from .agent or .shared paths.

Example commands:

cd /Users/home/Workspace/Apps/4Charm
ty check

Related Issues

  • N/A

Checklist

  • Tests added or updated
  • Documentation updated (README, docstrings, etc.)
  • Linter/formatter passed (e.g., ruff, black, isort)
  • No breaking changes introduced (if this is a patch)

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.
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

Comments