Skip to content

Commit

Permalink
Update devcontainer and vscode settings (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
shbatm authored Jan 14, 2023
1 parent 055e41a commit 6558ca7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 36 deletions.
64 changes: 34 additions & 30 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,36 +12,40 @@
},
"runArgs": ["-e", "GIT_EDITOR=code --wait"],
"postCreateCommand": ["/bin/bash", ".devcontainer/postCreate.sh"],
"extensions": [
"ms-python.vscode-pylance",
"visualstudioexptteam.vscodeintellicode",
"esbenp.prettier-vscode",
"github.vscode-pull-request-github",
"streetsidesoftware.code-spell-checker",
"njpwerner.autodocstring",
"ms-python.black-formatter"
],
"settings": {
"python.pythonPath": "/usr/local/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.blackPath": "/usr/local/bin/black",
"python.linting.flake8Path": "/usr/local/bin/flake8",
"python.linting.pycodestylePath": "/usr/local/bin/pycodestyle",
"python.linting.pydocstylePath": "/usr/local/bin/pydocstyle",
"python.linting.mypyPath": "/usr/local/bin/mypy",
"python.linting.pylintPath": "/usr/local/bin/pylint",
"python.formatting.provider": "black",
"python.testing.pytestArgs": ["--no-cov"],
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
"customizations": {
"vscode": {
"extensions": [
"ms-python.vscode-pylance",
"visualstudioexptteam.vscodeintellicode",
"esbenp.prettier-vscode",
"github.vscode-pull-request-github",
"streetsidesoftware.code-spell-checker",
"njpwerner.autodocstring",
"ms-python.black-formatter"
],
"settings": {
"python.pythonPath": "/usr/local/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.blackPath": "/usr/local/bin/black",
"python.linting.flake8Path": "/usr/local/bin/flake8",
"python.linting.pycodestylePath": "/usr/local/bin/pycodestyle",
"python.linting.pydocstylePath": "/usr/local/bin/pydocstyle",
"python.linting.mypyPath": "/usr/local/bin/mypy",
"python.linting.pylintPath": "/usr/local/bin/pylint",
"python.formatting.provider": "black",
"python.testing.pytestArgs": ["--no-cov"],
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh"
}
}
}
7 changes: 1 addition & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true,
"terminal.integrated.shell.linux": "/bin/bash",
"python.linting.flake8Enabled": false,
"restructuredtext.confPath": "${workspaceFolder}/docs",
"cSpell.words": ["automodule"],
"restructuredtext.languageServer.disabled": true,
"editor.formatOnSaveMode": "file",
"restructuredtext.syntaxHighlighting.disabled": true,
"esbonio.sphinx.confDir": "${workspaceFolder}/docs"
"editor.formatOnSaveMode": "file"
}

0 comments on commit 6558ca7

Please sign in to comment.