Clean Code

Clean Code: Ruff and mypy on an API Project.

Updated

  1. Ruff and mypy on an API Project (Journeyman): Ruff finds likely mistakes in an API's code and lays out every file the same way, and mypy reads the type hints that FastAPI, Pydantic and the data module already have to find values that can't be what a function expects, both set up once for the whole project in pyproject.toml.