Skip to content

feat: detect ty.toml/pyrefly.toml and rename MyPy family - #870

Merged
henryiii merged 4 commits into
mainfrom
feat/typecheck-generic
Oct 23, 2026
Merged

henryiii merged 4 commits into
mainfrom
feat/typecheck-generic

Conversation

@henryiii

@henryiii henryiii commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

First step, will followup. I've hand edited the guide text a bit too.

🤖 AI text below 🤖

  • MY100 now also passes when a ty.toml or pyrefly.toml file is present (next to pyproject.toml). The other MY checks still read only pyproject.toml.
  • The mypy family now shows as "Type checking". The key and the MY prefix do not change.
  • The typing guide's Configuration section now covers MyPy, Pyrefly, and ty: default behavior, strict settings, and ignore comments. The style guide mentions the standalone config files.

📚 Documentation preview 📚: https://scientific-python-cookie--870.org.readthedocs.build/

MY100 now passes with a standalone ty.toml or pyrefly.toml. The family
shows as "Type checking", and the typing guide covers MyPy, Pyrefly,
and ty.

Assisted-by: ClaudeCode:claude-opus-5-5
@henryiii
henryiii marked this pull request as draft October 23, 2026 19:17
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
Comment thread docs/guides/style.md Outdated
@henryiii
henryiii marked this pull request as ready for review October 23, 2026 19:33
@henryiii
henryiii merged commit 7f8bdd7 into main Oct 23, 2026
22 checks passed
@henryiii
henryiii deleted the feat/typecheck-generic branch October 23, 2026 19: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