|
156 | 156 | // mypy. |
157 | 157 | "**/.mypy_cache/": true, |
158 | 158 | }, |
| 159 | + "flake8.importStrategy": "fromEnvironment", |
159 | 160 | "git.branchProtection": [ |
160 | 161 | "main", |
161 | 162 | "master", |
|
169 | 170 | ], |
170 | 171 | "git.enableCommitSigning": true, |
171 | 172 | "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 | | - }, |
177 | 173 | "markdown.extension.list.indentationSize": "inherit", |
178 | 174 | "markdown.extension.print.absoluteImgPath": false, |
179 | 175 | "markdown.extension.toc.levels": "2..3", |
180 | 176 | "markdown.extension.toc.orderedList": true, |
181 | 177 | "markdown.updateLinksOnFileMove.enabled": "prompt", |
182 | 178 | "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 | | - }, |
193 | 179 | "python.defaultInterpreterPath": "python3", |
194 | 180 | "python.envFile": "${workspaceFolder}/.venv-dev", |
195 | | - "python.formatting.provider": "none", |
196 | | - "python.linting.flake8Enabled": true, |
197 | | - "python.testing.pytestEnabled": true, |
198 | 181 | "pythonIndent.trimLinesWithOnlyWhitespace": true, |
199 | 182 | "restructuredtext.editor.listEditing.list.indentationSize": "inherit", |
200 | 183 | "restructuredtext.preview.name": "docutils", |
201 | 184 | "rewrap.autoWrap.enabled": true, |
202 | 185 | "rewrap.doubleSentenceSpacing": true, |
203 | 186 | "shellformat.flag": "--language-dialect=bash --indent=4 --case-indent --space-redirects", |
204 | 187 | "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 | + }, |
205 | 197 | "[yaml]": { |
206 | 198 | "editor.detectIndentation": false, |
207 | 199 | "editor.insertSpaces": true, |
208 | 200 | "editor.tabSize": 2, |
209 | 201 | }, |
210 | | - "yaml.format.printWidth": 79, |
211 | 202 | } |
0 commit comments