Skip to content

Update VSCode workspace settings#1346

Merged
copybara-service[bot] merged 1 commit intomainfrom
update-vscode-settings
Jul 3, 2025
Merged

Update VSCode workspace settings#1346
copybara-service[bot] merged 1 commit intomainfrom
update-vscode-settings

Conversation

@theo-brown
Copy link
Collaborator

#1228 aimed to delete these settings. Following discussions with @Nush395, we decided to keep them in. After the merging of #1329, I revisited the vscode settings to make sure all was working ok. I removed a few unused lines in the settings and added pylint as a recommended extension.

@Nush395 Nush395 added the copybara:import-manual Set when ready for copybara manual import label Jul 3, 2025
@theo-brown
Copy link
Collaborator Author

@Nush395 sorry hold your horses!

Just discovered it's still being a bit greedy with sorting imports, eg

image

@theo-brown
Copy link
Collaborator Author

How did @mikesndrs fix this in the CI? Is this just a setting in pyproject.toml not being picked up correctly by VSCode?

@copybara-service copybara-service bot merged commit 25daed0 into main Jul 3, 2025
21 checks passed
@jcitrin
Copy link
Collaborator

jcitrin commented Jul 3, 2025

Oops, sorry, this was set to autosubmit and I approved it before I noticed your message. Can open another PR with refinements to fix the "greedy import" issue. @mikesndrs and @Nush395 can comment on the workaround.

@Nush395
Copy link
Collaborator

Nush395 commented Jul 3, 2025

Sorry Theo, assumed this was all good to go! I believe Mike's workflow is to use:

isort torax
pyink torax

I'm not familiar with these VSCode settings files, might be a question for Gemini. Will tal myself tomorrow as well :)

@theo-brown
Copy link
Collaborator Author

No, it's also my fault! It's quite hard to check that isort's doing the right thing, and I just hadn't checked this pattern.

@theo-brown theo-brown deleted the update-vscode-settings branch September 5, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copybara:import-manual Set when ready for copybara manual import

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants