Skip to content

[Feature] Introduce mypy in a gradual rollout way #458

@guo-han

Description

@guo-han

Checklist

Motivation

Introduce mypy into codebase (in pre-commit maybe) would help catch low-level bugs early, like previously done in vllm, jax, etc.
Follow a gradual rollout plan to achieve this.

Related resources

https://docs.jax.dev/en/latest/jep/12049-type-annotations.html
https://github.com/vllm-project/vllm/pull/25313/files#diff-6b980d504c08a48078accc6b5fb392b7b5d4c65dfe293a3956a7109200f184e2

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions