Skip to main content

type checker agnostic parallel type checking tool

Project description

typsht

type checker agnostic parallel type checking tool. run multiple python type checkers (mypy, pyright, ty, pyre) in parallel on the same code.

inspired by tox, but specifically for type checkers. get comprehensive type checking coverage by running multiple type checkers simultaneously.

installation

uv add typsht

usage

check inline code:

# this will catch the type error across all checkers
typsht 'def foo(x: int) -> str: return x'

check a file:

typsht --file my_module.py

run specific type checkers:

typsht --file my_module.py --checkers mypy --checkers ty

show detailed output from each checker:

typsht --file my_module.py --verbose

supported type checkers

by default, typsht runs:

  • mypy - widely adopted static type checker
  • pyright - fast static type checker from microsoft
  • ty - experimental blazing-fast type checker

also available (requires project configuration):

  • pyre - facebook's type checker (requires .pyre_configuration)

development

install dependencies:

uv sync

run tests:

uv run pytest

install pre-commit hooks:

uv run pre-commit install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

typsht-0.0.1a0.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

typsht-0.0.1a0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file typsht-0.0.1a0.tar.gz.

File metadata

  • Download URL: typsht-0.0.1a0.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for typsht-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 2524070dce7f3f512807fbf4f341ae119d3d5a6839c3f6d8e719e203d5ec57c0
MD5 cb149784a625869b81049220ad5014c0
BLAKE2b-256 9cb2addd0f3eb86c2afe9d70f185c7c5cf54bb576cf506013776369f454c32d6

See more details on using hashes here.

File details

Details for the file typsht-0.0.1a0-py3-none-any.whl.

File metadata

  • Download URL: typsht-0.0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for typsht-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 de66c437e9f71a988c366cbeb4a3cf788c6d782a704c3b1d8a518c493b881d41
MD5 814c083937f0f252757346226c8d9630
BLAKE2b-256 16bd7f40c37e5fd5c7a054be382f6de4032131b87ece0a2c40c3e907878d2d80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page