Skip to content

Commit 266a7a4

Browse files
committed
Update formatting preferences for VS Code
1 parent 4b94439 commit 266a7a4

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.vscode/settings.json

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
{
2-
"python.formatting.provider": "black",
32
"editor.formatOnSave": true,
4-
"python.linting.enabled": true,
5-
"python.linting.flake8Enabled": true,
3+
"editor.codeActionsOnSave": {
4+
"source.organizeImports": "explicit",
5+
"source.sortImports": "explicit",
6+
"source.fixAll.markdownlint": "explicit",
7+
"source.fixAll": "explicit"
8+
},
9+
"files.insertFinalNewline": true,
10+
"files.eol": "\n",
11+
"files.trimTrailingWhitespace": true,
12+
"isort.args": [
13+
"--profile",
14+
"black"
15+
],
616
"[python]": {
717
"editor.formatOnSave": true,
818
"diffEditor.codeLens": true,
19+
"editor.defaultFormatter": "ms-python.black-formatter"
920
},
10-
"editor.codeActionsOnSave": {
11-
"source.organizeImports": true,
12-
"source.sortImports": true,
13-
"source.fixAll.markdownlint": true,
14-
"source.fixAll": true
15-
},
16-
"files.trimTrailingWhitespace": true,
1721
"cSpell.words": [
1822
"argmax",
1923
"astype",
@@ -27,5 +31,5 @@
2731
"sqlalchemy",
2832
"torchvision",
2933
"trapdata"
30-
],
34+
]
3135
}

0 commit comments

Comments
 (0)