Skip to content

Instantly share code, notes, and snippets.

@minmax
Last active September 26, 2023 18:55
Show Gist options
  • Save minmax/cc0fee18ba19511b85d19e3077f8cbc8 to your computer and use it in GitHub Desktop.
Save minmax/cc0fee18ba19511b85d19e3077f8cbc8 to your computer and use it in GitHub Desktop.
VSCode settings
{
"[python]": {
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true,
"source.unusedImports": true
},
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.formatOnType": true
},
"black-formatter.importStrategy": "fromEnvironment",
"cSpell.language": "en,ru",
"editor.codeActionsOnSave": {
"source.organizeImports": false
},
"editor.detectIndentation": false,
"editor.experimentalWhitespaceRendering": "font",
"editor.fontFamily": "'FiraCode-Retina', 'Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 16,
"editor.formatOnSave": true,
"editor.minimap.showSlider": "always",
"editor.renderWhitespace": "all",
"editor.semanticHighlighting.enabled": true,
"editor.stickyTabStops": true,
"editor.tabSize": 4,
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"explorer.excludeGitIgnore": false,
"files.autoSave": "afterDelay",
"files.insertFinalNewline": true,
"git.defaultBranchName": "master",
"python.analysis.autoFormatStrings": true,
"python.analysis.autoImportCompletions": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.diagnosticMode": "openFilesOnly",
"python.analysis.gotoDefinitionInStringLiteral": true,
"python.analysis.indexing": true,
"python.analysis.inlayHints.callArgumentNames": "partial",
"python.analysis.inlayHints.functionReturnTypes": true,
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.typeCheckingMode": "strict",
"python.analysis.userFileIndexingLimit": 3000,
"python.languageServer": "Pylance",
"ruff.args": [
"--config=${workspaceFolder}/pyproject.toml",
"--ignore=F841,ERA001"
],
"ruff.enableExperimentalFormatter": true,
"ruff.organizeImports": true,
"ruff.showNotifications": "onError",
"search.useIgnoreFiles": true,
"stretchySpaces.targetIndentation": 5,
"terminal.integrated.fontFamily": "'Hack Nerd Font Mono', 'Monospace'",
"window.zoomLevel": 1,
"workbench.colorTheme": "Ayu Dark"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment