Skip to content

Commit

Permalink
Exclude autopep8 extension (#1982)
Browse files Browse the repository at this point in the history
- Exclude autopep8 when installing from the python extension pack
- Set sane formatter defaults for the Ruff extension
  • Loading branch information
whabanks authored Oct 28, 2024
1 parent 1f32ab0 commit 5d09877
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,35 @@
"containerEnv": {
"SHELL": "/bin/zsh"
},
"settings": {
"python.pythonPath": "/usr/local/bin/python",
"customizations":{
"vscode": {
"extensions": [
"njpwerner.autodocstring",
"github.copilot",
"GitHub.copilot-labs",
"donjayamanne.python-extension-pack",
"-ms-python.autopep8",
"ms-python.vscode-pylance",
"eamodio.gitlens",
"wholroyd.jinja",
"visualstudioexptteam.vscodeintellicode",
"yzhang.markdown-all-in-one",
"ms-ossdata.vscode-postgresql",
"tamasfe.even-better-toml",
"charliermarsh.ruff",
],
"settings": {
"ruff.lint.run": "onSave",
"ruff.configurationPreference": "filesystemFirst",
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
}
}
}
},
"extensions": [
"njpwerner.autodocstring",
"github.copilot",
"GitHub.copilot-labs",
"donjayamanne.python-extension-pack",
"ms-python.vscode-pylance",
"eamodio.gitlens",
"wholroyd.jinja",
"visualstudioexptteam.vscodeintellicode",
"yzhang.markdown-all-in-one",
"ms-ossdata.vscode-postgresql",
"tamasfe.even-better-toml",
"charliermarsh.ruff",
],

"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "16.20.0"
Expand Down

0 comments on commit 5d09877

Please sign in to comment.