Contents

ty 0.0.17

0

An extremely fast Python type checker, written in Rust.

An extremely fast Python type checker, written in Rust.

Stars: 17240, Watchers: 17240, Forks: 216, Open Issues: 721

The astral-sh/ty repo was created 9 months ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 17240 github stars!

How to Install ty

You can install ty using pip

pip install ty

or add it to a project with poetry

poetry add ty

Package Details

Author
None
License
None
Homepage
https://github.com/astral-sh/ty/
PyPi:
https://pypi.org/project/ty/
GitHub Repo:
https://github.com/astral-sh/ty

Classifiers

  • Software Development/Libraries
  • Software Development/Libraries/Python Modules
  • Software Development/Quality Assurance
  • Software Development/Testing
No  ty  pypi packages just yet.

Errors

A list of common ty errors.

Code Examples

Here are some ty code examples and snippets.

GitHub Issues

The ty package has 721 open issues on GitHub

  • Add strict diagnostic for unknown length unpacking
  • static_frame non-determinism minimization
  • Wrong inference for assignment of '+' concatenated lists
  • Promote tuple size in invariant positions
  • ty server doesn't support environment variables or cli flags
  • Matplotlib.pyplot functions' parameters not resolved
  • GitLab codequality report can't be uploaded as an artifact if all checks passed
  • No diagnostics in neovim 0.11 with native lsp
  • ENH: Support slack variables (lower bound emulation)
  • Incorrect / confusing invalid-method-override when overriding str.iter
  • LSP not showing unused variable (in VSCode)
  • Integration with Jupyter Notebook via jupyter-lsp yields invalid JSON
  • Unannotated decorator that replaces a class with a dynamically generated subclass is not understood
  • Add new rule that makes users aware that ty disregards codes in type: ignore comments
  • Config flag to allow await outside async code?

See more issues on GitHub