◾️vscodeでdjango環境設定
- pipenv : package manager + virtual env
- flake8 : linter(show error)
- black : formatter
◾️vscode settings.json
{
"python.pythonPath": "/Users/user/.virtual/airbnb-clone-0jegLt4k/bin/python",
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
"python.linting.flake8Args": ["--max-line-length=88"],
"python.formatting.provider": "black",
}
◾️vscodeでのblack設定 – settingsからPython選択