Created
November 20, 2022 02:47
-
-
Save friveroll/40d44baaa0bc17317d2f790017d2fc14 to your computer and use it in GitHub Desktop.
Settings VSCode python environments
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
{ | |
"python.defaultInterpreterPath": "${workspaceFolder}\\.venv\\Scripts\\python.exe", | |
"python.venvPath": "${workspaceFolder}\\.venv", | |
"python.terminal.defaultProfile.windows": "pwsh", | |
"python.terminal.activateEnvironment": true, | |
"python.linting.pylintEnabled": true, | |
"python.testing.pytestEnabled": true, | |
"python.testing.unittestEnabled": false, | |
"python.testing.nosetestsEnabled": false, | |
"python.testing.pytestArgs": ["--collect-only"], | |
"python.formatting.provider": "black", | |
"python.formatting.blackArgs": ["--line-length=79"], | |
"python.languageServer": "Pylance", | |
"python.analysis.typeCheckingMode": "basic", | |
"[python]": { | |
"editor.formatOnSave": true, | |
"editor.tabSize": 4, | |
"editor.insertSpaces": true, | |
"editor.detectIndentation": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment