Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC]引入 mypy 对静态类型进行检查 #17

Open
2 tasks
whg517 opened this issue Jul 14, 2021 · 0 comments
Open
2 tasks

[RFC]引入 mypy 对静态类型进行检查 #17

whg517 opened this issue Jul 14, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@whg517
Copy link
Member

whg517 commented Jul 14, 2021

动机

PEP-484 的新特性在社区应用越来越广泛。而且越来越多的工具都在新版本中逐步适配静态类型,并使用 mypy 进行检查。

这么做的目的是为了尽早的在编码阶段发现程序中可能出现的错误。

实施

  • 为仓库本身增加静态类型和 mypy 检查相关逻辑,如 tox 和 CI
  • 为项目模板增加静态类型和类型检查
@whg517 whg517 added the enhancement New feature or request label Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant