Uh oh!
There was an error while loading. Please reload this page.
Update PR workflow / workspace - #1053
Conversation
Archmonger
commented
Jun 15, 2023
@rmorshea Can you send me your |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
will send the ruff config tomorrow |
rmorshea
commented
Jun 15, 2023
It seems like there's not a whole lot special about my config. I just have the charliemarsh.ruff extension installed and the following: project: user: It's possible that our Ruff config in |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Ryan Morshead <ryan.morshead@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Archmonger
commented
Jul 13, 2023
Tests are borked again, preventing merge. |
Archmonger
commented
Jul 16, 2023
I can't self-merge on this repo so I will need another approval. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| { | ||
| "editor.detectIndentation": false, | ||
| "editor.formatOnSave": true, | ||
| "python.linting.enabled": true, |
There was a problem hiding this comment.
Setting python.languageServer and python.liniting.enabled allows for VS Code to warn the user if it's not installed.
| @@ -0,0 +1,35 @@ | |||
| { | |||
| "editor.detectIndentation": false, | |||
There was a problem hiding this comment.
Not sure why we need to configure this.
There was a problem hiding this comment.
Without customizing this, sometimes VS Code will try to use tabs instead of spaces depending on the file type.
| "editor.formatOnSave": true, | ||
| "python.linting.enabled": true, | ||
| "python.linting.mypyEnabled": true, | ||
| "python.analysis.typeCheckingMode": "off", |
There was a problem hiding this comment.
This is already the default except on VSCode insiders
There was a problem hiding this comment.
Should we keep it off in anticipation of the insiders build coming to main?
| "prettier.tabWidth": 4, | ||
| "prettier.useTabs": true, | ||
| "prettier.endOfLine": "auto", | ||
| "prettier.proseWrap": "never", |
There was a problem hiding this comment.
I use all the defaults for Prettier. I also think it will auto detect project configuration by looking for one of the places it might be set: https://prettier.io/docs/en/configuration.html
There was a problem hiding this comment.
Without proseWrap and endOfLine, prettier will auto-format jinja templates in a way that breaks them.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Archmonger
commented
Jul 19, 2023
Let me know if you agree/disagree with the open comments. |
Archmonger
commented
Jul 29, 2023
I can't merge due to lint errors. |
Archmonger
commented
Jan 11, 2024
I'm realizing it's going to get annoying to maintain a vscode config file. Microsoft tends to deprecate/delete settings very frequently, and I don't want us to deal with that. I've changed this PR to only have suggested workspace extensions. |
This contribution is made under the MIT license.
Issues
N/A
Summary
Checklist
changelog.rsthas been updated with any significant changes.