Skip to content

Commit 124cd19

Browse files
committed
vscode: add VS Code settings for reformat on save
1 parent c67e500 commit 124cd19

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,6 @@ ENV/
9898
# Rope project settings
9999
.ropeproject
100100

101-
# VSCode project settings
102-
.vscode
103-
104101
# mkdocs documentation
105102
/site
106103

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"[python]": {
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll": "explicit",
6+
"source.organizeImports": "explicit"
7+
},
8+
"editor.defaultFormatter": "charliermarsh.ruff"
9+
}
10+
}

0 commit comments

Comments
 (0)