You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Replace mypy dependency with ty (>=0.0.1a10) in pyproject.toml
- Update GitHub Actions workflow from mypy.yml to ty.yml
- Configure ty with basic ty.toml configuration file
- Remove mypy.ini configuration file
- Update workflow to use ty check command with appropriate flags
Performance comparison:
- Mypy: 0.651s (found 8 errors in 4 files, checked 5 source files)
- Ty: 0.292s (all checks passed on same files)
- Ty shows ~55% performance improvement on sample files
Type checking comparison on full codebase:
- Mypy: Found 73 errors in 25 files (checked 93 source files)
- Ty: Found 49 diagnostics (more focused error reporting)
Ty is an experimental Rust-based type checker by Astral (creators of Ruff and uv)
that aims to be significantly faster than existing Python type checkers.
0 commit comments