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

mypy #6 #6

Open
yockwang opened this issue Jul 7, 2023 · 0 comments
Open

mypy #6 #6

yockwang opened this issue Jul 7, 2023 · 0 comments
Assignees
Labels
backend good first issue Good for newcomers

Comments

@yockwang
Copy link
Contributor

yockwang commented Jul 7, 2023

後端專案已有flake8(檢查代碼規範)跟pytest(測試程式碼),
還少了型別檢查 mypy

目前程式碼推上去後檢查流程是
flake8->pytest
這主要是希望思考一下mypy放在流程中那個位置比較適合, 這沒有標準答案, 有一套至少可以說服自己的說法即可
然後不要花太多時間去研究mypy.ini, 這不是重點
寧可花費額外時間, 去另外寫練習用code, 體驗一下用py3.10寫typing hint

@yockwang yockwang added good first issue Good for newcomers backend labels Jul 7, 2023
@yockwang yockwang self-assigned this Jul 7, 2023
@yockwang yockwang linked a pull request Jul 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant