types
Types CLI.
Functions⚓︎
basedpyright ⚓︎
basedpyright(ctx)
Run basedpyright.
Source code in calcipy/tasks/types.py
@task()
def basedpyright(ctx: Context) -> None:
"""Run basedpyright."""
_inner_task(ctx, command=f'{python_dir()}/basedpyright')
mypy ⚓︎
mypy(ctx)
Run mypy.
Source code in calcipy/tasks/types.py
@task()
def mypy(ctx: Context) -> None:
"""Run mypy."""
_inner_task(ctx, command=f'{python_dir()}/mypy')
pyright ⚓︎
pyright(ctx)
Run pyright.
Source code in calcipy/tasks/types.py
@task()
def pyright(ctx: Context) -> None:
"""Run pyright."""
check_installed(ctx, executable='pyright', message=PYRIGHT_MESSAGE)
_inner_task(ctx, command='pyright')