we use black
pip install black
we use pylint
pip install pylint
configure file
- .pylintrc
https://stackoverflow.com/questions/17493159/should-i-force-python-type-checking https://stackoverflow.com/questions/44783872/how-to-force-static-typing-in-python
Although it is not recommended to enforce the type in python, we decided to recommend writing the type for code modification and sharing.
we use
mypy
pip install mypy
configure file
- mypy.ini
pylance
If you use pylance, one of the vscode extensions, you can prevent warnings from mypy test in advance.