-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore,docs(tooling): remove unsupported vscode config file #1054
Conversation
8135772
to
f491236
Compare
f491236
to
f027a73
Compare
I'm not sure if Particularly, one thing that I always add, and always pops as a change by git, is: "python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"--fork=Prague",
], Or similar. |
|
We could consider adding https://marketplace.visualstudio.com/items?itemName=nickmillerdev.pytest-fixtures to the list of recommended plugins. |
There is an extension that creates popups for unwanted extensions: https://marketplace.visualstudio.com/items?itemName=Soulcode.vscode-unwanted-extensions Feel free to try it out here: https://github.com/spencer-tb/execution-spec-tests/tree/tooling/unwanted-extensions |
That's nifty! |
|
I think this could cause more confusion, as any changes on the remote would clobber user settings which a user didn't realise they changed (because it's gitignored). Let's keep it as-is for now; I think it will be easier for newer contributors / test implementers. Generally, it'll be maintainers that have to make this switch and I think they can handle it easily via:
But we should ensure that we (maintainers) settle on common settings and add them to
This has been added! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! And apologies for this in the first place - I trust AI a bit too much sometimes!
e256683
to
9192771
Compare
🗒️ Description
I worked with
ruff
#922 for the first time today (it's great 🥳), but ran into two issues:.vscode/settings.json
, cf Feature Request: Enable/disable extensions from config file microsoft/vscode#40239).cp .vscode/settings.local.recommended.json .vscode/settings.local.json
but.vscode/settings.local.json
is unsupported by VS Code and has no effect. There's an open issue for this here [Feature] Local Workspace settings microsoft/vscode#40233, otherwise see https://code.visualstudio.com/docs/getstarted/settings.Happy to get feedback on the settings files... perhaps I missed something?
There's an outstanding issue regarding 2. #922 intentionally removed
.vscode/settings.recommended.json
(the settings here are now enforced in.vscode/settings.json
) in order to force users to the newruff
settings. This is a good idea, but it might be a bit clunky as this file generally gets edited when switching between ethereum./tests/
and framework tests execution (via VS Code's "Testing" Tab). This is due to our multiple pytest configurations; the required config"python.testing.pytestArgs"
needs to specify the relevant pytest ini file, here's the config pre #922:execution-spec-tests/.vscode/settings.recommended.json
Lines 24 to 35 in 52aa13d
🔗 Related Issues
ruff
as default linter and additional clean up #922✅ Checklist
[ ] All: Added an entry to CHANGELOG.md.skippedmkdocs serve
locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.