Last active
October 11, 2023 00:58
-
-
Save jlmelville/74d8fe778b0d89574e82ffe47c1e49ae to your computer and use it in GitHub Desktop.
VS Code settings for Linux
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
| { | |
| "[html]": { | |
| "editor.insertSpaces": true, | |
| "editor.tabSize": 2 | |
| }, | |
| "[markdown]": { | |
| "editor.rulers": [ | |
| 100 | |
| ], | |
| "editor.tabSize": 2 | |
| }, | |
| "editor.codeActionsOnSave": { | |
| "source.organizeImports": true | |
| }, | |
| "editor.formatOnSave": true, | |
| "editor.rulers": [ | |
| 88 | |
| ], | |
| "liveServer.settings.port": 5001, | |
| "python.formatting.blackPath": "${workspaceFolder}/venv/bin/black", | |
| "python.formatting.provider": "black", | |
| "python.linting.banditArgs": [ | |
| "-c", | |
| "${workspaceFolder}/lint/bandit.yml", | |
| "-q" | |
| ], | |
| "python.linting.banditEnabled": false, | |
| "python.linting.enabled": true, | |
| "python.linting.flake8Enabled": true, | |
| "python.linting.flake8Args": [ | |
| "--config", | |
| "lint/.flake8" | |
| ], | |
| "python.linting.maxNumberOfProblems": 1000, | |
| "python.linting.mypyEnabled": false, | |
| "python.linting.prospectorArgs": [ | |
| "--profile", | |
| "${workspaceFolder}/lint/.prospector.yaml" | |
| ], | |
| "python.linting.prospectorEnabled": false, | |
| "python.linting.pycodestyleEnabled": false, | |
| "python.linting.pycodestylePath": "pycodestyle", | |
| "python.linting.pydocstyleEnabled": false, | |
| "python.linting.pylamaEnabled": false, | |
| "python.linting.pylintEnabled": true, | |
| "python.linting.pylintArgs": [ | |
| "--rcfile", | |
| "${workspaceFolder}/lint/.pylintrc" | |
| ], | |
| "python.linting.pylintCategorySeverity.refactor": "Information", | |
| "python.linting.pylintUseMinimalCheckers": false, | |
| "python.pythonPath": "${workspaceFolder}/venv/bin/python", | |
| "python.sortImports.args": [ | |
| "--multi-line=3", | |
| "--trailing-comma", | |
| "--force-grid-wrap=0", | |
| "--use-parentheses", | |
| "--line-width=88" | |
| ], | |
| "python.sortImports.path": "${workspaceFolder}/venv/bin/isort", | |
| "python.venvPath": "${workspaceFolder}/venv", | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This requires:
venv, e.g.python -m venv venv.source venv/bin/activate.lintsub-directory.This should also work with WSL. The
editor.formatOnSaveTimeouthas been increased to account for the latency introduced by theRemote - WSLextension (see microsoft/vscode-go#2695).