Skip to content

Commit

Permalink
build: update vscode settings/extensions for pylint (quisquous#5908)
Browse files Browse the repository at this point in the history
  • Loading branch information
quisquous authored Nov 6, 2023
1 parent 3b7f09a commit 5f4d603
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"maikotan.cactbot-highlight",
"dprint.dprint"
"dprint.dprint",
"ms-python.black-formatter",
"ms-python.pylint"
]
}
11 changes: 4 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": ["--line-length", "100"],
"python.linting.enabled": true,
"python.linting.flake8Enabled": false,
"python.linting.pylintArgs": ["--errors-only"],
"python.linting.pylintEnabled": true,
"pylint.args": ["--errors-only"],
"black-formatter.args": ["--line-length", "100"],
"search.exclude": {
"**/node_modules": true,
"dist/**": true
Expand All @@ -26,7 +22,8 @@
* Although format mode could be set as "modification",
* unfortunately `black` does not support "Format Selection"
*/
"editor.formatOnSaveMode": "file"
"editor.formatOnSaveMode": "file",
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[javascript]": {
"editor.defaultFormatter": "dprint.dprint"
Expand Down

0 comments on commit 5f4d603

Please sign in to comment.