Skip to content

Commit 9cd42aa

Browse files
committed
[settings.json]: Update Settings
1 parent 50d5ef3 commit 9cd42aa

File tree

1 file changed

+10
-19
lines changed

1 file changed

+10
-19
lines changed

.vscode/settings.json

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
// mypy.
157157
"**/.mypy_cache/": true,
158158
},
159+
"flake8.importStrategy": "fromEnvironment",
159160
"git.branchProtection": [
160161
"main",
161162
"master",
@@ -169,43 +170,33 @@
169170
],
170171
"git.enableCommitSigning": true,
171172
"isort.importStrategy": "fromEnvironment",
172-
"[markdown]": {
173-
// Markdown uses two or more spaces at the end of a line to
174-
// signify a line break.
175-
"files.trimTrailingWhitespace": false,
176-
},
177173
"markdown.extension.list.indentationSize": "inherit",
178174
"markdown.extension.print.absoluteImgPath": false,
179175
"markdown.extension.toc.levels": "2..3",
180176
"markdown.extension.toc.orderedList": true,
181177
"markdown.updateLinksOnFileMove.enabled": "prompt",
182178
"markdown.validate.enabled": true,
183-
"[python]": {
184-
// Somehow, the ms-python.isort removes blank lines before
185-
// comments everywhere in the code. Therefore, sorting imports
186-
// on file save is disabled for now.
187-
// "editor.codeActionsOnSave": {
188-
// // Format import statements with isort.
189-
// "source.organizeImports": true,
190-
// },
191-
"editor.defaultFormatter": "ms-python.black-formatter",
192-
},
193179
"python.defaultInterpreterPath": "python3",
194180
"python.envFile": "${workspaceFolder}/.venv-dev",
195-
"python.formatting.provider": "none",
196-
"python.linting.flake8Enabled": true,
197-
"python.testing.pytestEnabled": true,
198181
"pythonIndent.trimLinesWithOnlyWhitespace": true,
199182
"restructuredtext.editor.listEditing.list.indentationSize": "inherit",
200183
"restructuredtext.preview.name": "docutils",
201184
"rewrap.autoWrap.enabled": true,
202185
"rewrap.doubleSentenceSpacing": true,
203186
"shellformat.flag": "--language-dialect=bash --indent=4 --case-indent --space-redirects",
204187
"shellformat.path": "${workspaceFolder}/.venv-dev/bin/shfmt",
188+
"yaml.format.printWidth": 79,
189+
"[markdown]": {
190+
// Markdown uses two or more spaces at the end of a line to
191+
// signify a line break.
192+
"files.trimTrailingWhitespace": false,
193+
},
194+
"[python]": {
195+
"editor.defaultFormatter": "ms-python.black-formatter",
196+
},
205197
"[yaml]": {
206198
"editor.detectIndentation": false,
207199
"editor.insertSpaces": true,
208200
"editor.tabSize": 2,
209201
},
210-
"yaml.format.printWidth": 79,
211202
}

0 commit comments

Comments
 (0)