RFC: Type checking in CI and development #1201
Labels
cat: rfc
Issues that propose changes, or a Request For Comments.
priority: medium
Issues and PRs that should be resolved soon.
status: needs-help
Issues and PRs that require volunteer assistance to proceed.
type: ci
Issues and PRs related to continuous integration.
Rationale
Type checking in CI and development would ensure that our code runs with minimal runtime errors related to dynamic typing. It would also make it easier to do things like creating configuration structures that are statically typed.
Drawbacks
Many Python developers are not used to type hinting and may be confused by it| Resolved by @carlsmedstad's commentThe comment that lead to this issue.
I use
pyright
locally as it is much more complete and flexible thanmypy
- I hadn't thought much about including it in CI, as Python tends to not be type-checked much if at all (given its nature as a dynamically typed language) and many people are not used to it, but I can open an RFC issue for that.Originally posted by @Nytelife26 in this comment on #1200
The text was updated successfully, but these errors were encountered: