Skip to content

Instantly share code, notes, and snippets.

@gamorales
Last active July 15, 2020 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gamorales/9388a8bfc70e2a59e3f7b89a1797ae9e to your computer and use it in GitHub Desktop.
Save gamorales/9388a8bfc70e2a59e3f7b89a1797ae9e to your computer and use it in GitHub Desktop.
VS Code configuration for python and general
{
"editor.rulers": [80, 100],
"window.zoomLevel": 0,
"editor.fontSize": 14,
"editor.renderWhitespace": "all",
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"editor.formatOnPaste": true,
"editor.minimap.enabled": false,
"[yaml]": {
"editor.tabSize": 2
},
"[dockerfile]": {
"editor.tabSize": 2
},
"[json]": {
"editor.tabSize": 2
},
"[html]": {
"editor.tabSize": 2
},
"[django-html]": {
"editor.tabSize": 2
},
"[css]": {
"editor.tabSize": 2
},
"[javascript]": {
"editor.tabSize": 2
},
"[typescript]": {
"editor.tabSize": 2
},
"[markdown]": {
"editor.tabSize": 2
},
"[python]": {
"editor.defaultFormatter": "ms-python.python",
"editor.insertSpaces": true
},
"files.trimTrailingWhitespace": true,
"git.autofetch": true,
"git.confirmSync": false,
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"python.pythonPath": "python3",
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.pycodestyleEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.mypyArgs": [
"--config-file=${workspaceFolder}/mypy.ini"
],
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length",
"99",
],
"python.formatting.autopep8Args": [
"--max-line-length",
"99",
"--experimental"
],
"autoDocstring.docstringFormat": "google",
"editor.tabCompletion": "on",
"diffEditor.renderSideBySide": true,
"terminal.integrated.rendererType": "dom",
"emmet.includeLanguages": {
"django-html": "html"
},
"emmet.triggerExpansionOnTab": true,
"extensions.ignoreRecommendations": false,
"files.associations": {
"zshrc": "shellscript"
},
"workbench.sideBar.location": "left",
"workbench.panel.defaultLocation": "bottom",
"workbench.iconTheme": "vscode-icons",
"gitlens.currentLine.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"gitlens.codeLens.enabled": false,
"gitlens.statusBar.enabled": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment