settings.json 909 B

1234567891011121314151617181920212223242526
  1. {
  2. "python.pythonPath": "${workspaceFolder}/.venv",
  3. // PEP8 settings (https://www.python.org/dev/peps/pep-0008/)
  4. "editor.tabSize": 4,
  5. "editor.insertSpaces": true,
  6. "editor.wordWrapColumn": 80,
  7. "editor.wordWrap": "wordWrapColumn",
  8. // Single newline at end of file
  9. "files.trimTrailingWhitespace": true,
  10. "files.insertFinalNewline": true,
  11. "files.trimFinalNewlines": true,
  12. // Always format on save
  13. "editor.formatOnSave": true,
  14. // Linting and code qualiy
  15. "python.linting.enabled": true,
  16. "python.linting.lintOnSave": true,
  17. "python.linting.flake8Enabled": true,
  18. "python.linting.flake8Args": [
  19. "--verbose"
  20. ],
  21. // Unit testing (only one framework can be active)
  22. "python.unitTest.unittestEnabled": false,
  23. "python.unitTest.nosetestsEnabled": false,
  24. "python.unitTest.pyTestEnabled": true,
  25. "python.unitTest.pyTestArgs": [],
  26. }