123456789101112131415161718192021222324252627282930313233 |
- {
- "python.pythonPath": ".venv/bin/python",
- "python.analysis.extraPaths": [
- "my_module",
- "tests",
- ".venv/bin/python"
- ],
- // 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.mypyEnabled": true,
- "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": []
- }
|