settings.json 699 B

12345678910111213141516171819202122232425
  1. {
  2. "[python]": {
  3. "editor.defaultFormatter": "ms-python.black-formatter",
  4. "editor.formatOnSave": true,
  5. "editor.codeActionsOnSave": {
  6. "source.organizeImports": "explicit",
  7. },
  8. },
  9. "isort.args":["--profile", "black"],
  10. "black-formatter.args": ["--line-length", "120"],
  11. "python.useEnvironmentsExtension": true,
  12. "python.testing.pytestEnabled": false,
  13. "python.testing.unittestEnabled": true,
  14. "files.associations": {
  15. "*.mac": "vbs"
  16. },
  17. "python.testing.unittestArgs": [
  18. "-v",
  19. "-s",
  20. "./tests",
  21. "-p",
  22. "test_*.py"
  23. ],
  24. "python.testing.autoTestDiscoverOnSaveEnabled": true
  25. }