Skip to content

Commit ee04f16

Browse files
committed
Add some python file settings
including using the black formatter
1 parent 9e2b4a1 commit ee04f16

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.vscode/extensions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"esbenp.prettier-vscode",
55
"sumneko.lua",
66
"julialang.language-julia",
7+
"ms-python.black-formatter"
78
]
89
}

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
"editor.defaultFormatter": "julialang.language-julia",
1919
"editor.wordSeparators": "`~#$%^&*()-=+[{]}\\|;:'\",.<>/?"
2020
},
21+
"[python]": {
22+
"diffEditor.ignoreTrimWhitespace": false,
23+
"gitlens.codeLens.symbolScopes": ["!Module"],
24+
"editor.formatOnSave": false,
25+
"editor.formatOnType": false,
26+
"editor.wordBasedSuggestions": "off",
27+
"editor.defaultFormatter": "ms-python.black-formatter"
28+
},
2129
"editor.defaultFormatter": "esbenp.prettier-vscode",
2230
"editor.formatOnSave": true,
2331
"editor.tabSize": 2,

0 commit comments

Comments
 (0)