Backend Type Annotation

How to use ty to check type annotation in Python files Use when this capability is needed.

tomevault-io eafd574 2 files · 1.3 KB Updated

File contents

Python Type Annotation

We use ty for type annotation checking. There are two ways to run type annotation check:

  1. Manually:

    cd ./backend
    uv run ty check
    
  2. Via script (run from project root), this will also run formatting, lint and tests:

    ./scripts/linting.bash --backend
    

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/jpmolinamatute--arch-stats--backend-type-annotation commit eafd574ae4

Frequently asked questions

npx skillmds@latest add tomevault-io/backend-type-annotation