Static type checking support for Trio and related projects
This package provides:
PEP 561 typing stubs packages for the Trio project packages:
trio (trio-stubs
)
outcome (outcome-stubs
)
async_generator (async_generator-stubs
)
A package trio_typing
containing types that Trio programs often want to refer to (AsyncGenerator[Y, S]
and TaskStatus[T])
and a mypy plugin that smooths over some limitations in the basic type hints.
Linter | Message | Location |
---|---|---|
optional-tests Make sure tests are only run when requested | the 'check' phase should respect #:tests? |