Skip to content

Use Ty's strictest recommended configuration - #3207

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

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

@adamtheturtle
adamtheturtle merged commit 313ad63 into main Sep 8, 2026
13 checks passed
@adamtheturtle
adamtheturtle deleted the strictest-ty-config branch September 8, 2026 11:18

This branch was previously deployed

1 inactive deployment
development — 09991281 Deployed Sep 8, 2026 by adamtheturtle via pages #998
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