Axon Shaft docs
Checklist catalog

Type safety

New any types, unsafe casts, ignored type errors, non-null assertions and missing type hints in typed Python.

  • Check run: Axon Shaft / types
  • How it checks: A script built into the action gathers facts, and the model judges them.
  • Suits: Web front ends, Expo and React Native apps, Services and APIs, Published packages, Python
  • In templates: Strict review, Library or npm package, Python service

What it looks for

  • New any types
  • Unsafe casts and non-null assertions
  • @ts-ignore with no reason given
  • Missing type hints in typed Python

A finding might read: as unknown as User with no comment saying why

Files it runs on

It runs only when a changed file matches one of these, and is skipped otherwise.

  • **/*.{ts,tsx,mts,cts,py}

Last updated on