-
Notifications
You must be signed in to change notification settings - Fork 645
Labels
help wantedExtra attention is neededExtra attention is needed
Description
ty is way faster. We should replace mypy in our pre-commit configuration with ty.
Link: https://docs.astral.sh/[ty](https://docs.astral.sh/ty/)
There isn't a 1-to-1 replacement of all the things we're doing but we can try to get as close as possible.
For example, settings like the following may provide an experience closer to strict mode in mypy:
[tool.ty.rules]
# Turn up key rules to "error" for a stricter experience
invalid-assignment = "error"
invalid-argument-type = "error"
unresolved-attribute = "error"
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed