1234567891011121314151617181920212223242526272829303132 |
- {
- "python.pythonPath": "${workspaceFolder}/.venv",
- // PEP8 settings (https://www.python.org/dev/peps/pep-0008/)
- "editor.tabSize": 4,
- "editor.insertSpaces": true,
- "editor.wordWrapColumn": 80,
- "editor.wordWrap": "wordWrapColumn",
- // Single newline at end of file
- "files.trimTrailingWhitespace": true,
- "files.insertFinalNewline": true,
- "files.trimFinalNewlines": true,
- // Always format on save
- "editor.formatOnSave": true,
- // Linting and code qualiy
- "python.linting.enabled": true,
- "python.linting.lintOnSave": true,
- "python.linting.pylintEnabled": false,
- "python.linting.flake8Enabled": true,
- "python.linting.flake8Args": [
- "--verbose"
- ],
- // Unit testing (only one framework can be active)
- "python.testing.unittestEnabled": false,
- "python.testing.nosetestsEnabled": false,
- "python.testing.pytestEnabled": true,
- "python.testing.pytestArgs": [],
- "[python]": {
- "editor.codeActionsOnSave": {
- "source.organizeImports": true
- }
- }
- }
|