日本語
拡張機能とリンティングツールを使用してPython開発環境をセットアップする
uv
pip install uv
ruff
pip install ruff
pip install black
settings.json
{ "python.formatting.provider": "black", "editor.formatOnSave": true, "python.formatting.blackArgs": ["--line-length", "88"] }
pip install pylint
{ "python.linting.enabled": true, "python.linting.pylintEnabled": true, "python.linting.lintOnSave": true }
pip install mypy
{ "python.linting.mypyEnabled": true }
launch.json
このページは役に立ちましたか?