fix(mypy): add fast and full mypy modes

This commit is contained in:
Ashwin Bharambe 2025-10-29 16:10:40 -07:00
parent c9d4b6c54f
commit 3659c121f9
4 changed files with 56 additions and 15 deletions

View file

@ -61,6 +61,18 @@ uv run pre-commit run --all-files -v
The `-v` (verbose) parameter is optional but often helpful for getting more information about any issues with that the pre-commit checks identify.
To run the expanded mypy configuration that CI enforces, use:
```bash
uv run pre-commit run mypy-full --hook-stage manual --all-files
```
or invoke mypy directly with all optional dependencies:
```bash
uv run --group dev --group type_checking mypy
```
```{caution}
Before pushing your changes, make sure that the pre-commit hooks have passed successfully.
```