Skip to content
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

Update vscode recommended settings to not cleanup noqa'd unused imports #13363

Merged
merged 1 commit into from
Jan 4, 2025

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Jan 4, 2025

Updated VSCode's recommended settings to stop it from removing the following lines on saving the file:

import collections # noqa: F401 # pyright: ignore[reportUnusedImport]

import mypy # pyright: ignore[reportUnusedImport] # noqa: F401

This has been annoying me for a while and I finally figured out which setting is responsible for that.

@AlexWaygood AlexWaygood merged commit 9f28171 into python:main Jan 4, 2025
41 checks passed
@Avasam Avasam deleted the update-vscode-recommended-settings branch January 4, 2025 13:03
hoel-bagard pushed a commit to hoel-bagard/typeshed that referenced this pull request Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants