Skip to content

Use Ty's strictest recommended configuration - #3580

Merged
adamtheturtle merged 1 commit into
mainfrom
strictest-ty-config
Sep 8, 2026
Merged

Use Ty's strictest recommended configuration#3580
adamtheturtle merged 1 commit into
mainfrom
strictest-ty-config

Conversation

@adamtheturtle

Copy link
Copy Markdown
Member

Summary

  • enable Astral's strictest recommended Ty rules and analysis semantics
  • enable the recommended Ruff ANN, PYI, and PGH003 families
  • keep preview rules explicit so existing select-all configurations do not activate unrelated preview diagnostics
  • narrow straightforward typed collections and use diagnostic-specific Ty suppressions at intentionally untyped framework/data boundaries

Configuration reference: https://docs.astral.sh/ty/coming-from-mypy-or-pyright/#recommended-configuration

Validation

  • ty check
  • ruff check .
  • full pre-commit hook suite

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