Created
September 19, 2025 09:39
-
-
Save adriantorrie/4b456c6ea80c5949fa269048ee3ab959 to your computer and use it in GitHub Desktop.
VSCode settings.json for Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // References | |
| // - https://code.visualstudio.com/docs/python/settings-reference#_general-settings | |
| { | |
| "coverage-gutters.showLineCoverage": true, | |
| "coverage-gutters.coverageReportFileName": ".testing/html/index.html", | |
| "coverage-gutters.showGutterCoverage": false, | |
| "coverage-gutters.coverageFileNames": [ | |
| ".testing/coverage.xml" | |
| ], | |
| "editor.formatOnSave": true, | |
| "[dockerfile]": { | |
| "editor.formatOnSave": false | |
| }, | |
| "[json]": { | |
| "editor.formatOnSave": false | |
| }, | |
| "[markdown]": { | |
| "editor.formatOnSave": false | |
| }, | |
| "editor.rulers": [ | |
| 72, // Docstring width | |
| 79 // Code width | |
| ], | |
| "markdownlint.config": { | |
| "no-inline-html": false, | |
| "single-h1": false | |
| }, | |
| "[python]": { | |
| "editor.defaultFormatter": "ms-python.black-formatter", | |
| "editor.formatOnSave": true, | |
| "editor.codeActionsOnSave": { | |
| "source.organizeImports": "explicit" | |
| }, | |
| }, | |
| "python.testing.pytestEnabled": true, | |
| "python.testing.unittestEnabled": false, | |
| "isort.args": [ | |
| "--profile", | |
| "black" | |
| ], | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment