Last active
May 1, 2024 17:46
-
-
Save luizomf/ee0daa6f226519034ca56b12cfb5d082 to your computer and use it in GitHub Desktop.
VS Code Python and Code Runner Settings for Windows
This file contains 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
{ | |
"window.zoomLevel": 5, | |
"editor.formatOnSave": true, | |
"code-runner.executorMap": { | |
"python": "clear ; .\\venv\\Scripts\\python.exe" | |
}, | |
"code-runner.runInTerminal": true, | |
"code-runner.clearPreviousOutput": true, | |
// Python | |
"[python]": { | |
"editor.defaultFormatter": "ms-python.python", | |
"editor.tabSize": 4, | |
"editor.insertSpaces": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnType": true, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
} | |
}, | |
"python.languageServer": "Pylance", | |
"python.formatting.autopep8Args": [ | |
"--indent-size=4" | |
// "--ignore=E111", | |
], | |
"python.linting.flake8Args": [ | |
// "--ignore=E111", | |
], | |
"python.linting.pylintArgs": [ | |
"--load-plugins=pylint_django", | |
"--errors-only" | |
], | |
"python.linting.flake8Enabled": true, | |
"python.testing.unittestEnabled": false, | |
"python.linting.mypyEnabled": true, | |
"python.defaultInterpreterPath": "python", | |
"workbench.colorTheme": "OM Theme (Default Dracula Italic)" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment