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

Python cleanups #3598

Merged
merged 5 commits into from
Mar 30, 2023
Merged

Python cleanups #3598

merged 5 commits into from
Mar 30, 2023

Conversation

StephanTLavavej
Copy link
Member

I used Pylance to find these issues.

  • Use _ when ignoring part of a destructured tuple.
    • We've done this elsewhere, so now it's consistent.
  • Drop unused imports.
  • Drop unused filename variable.
  • Use name and value variables.
  • Non-Python: Detect 17.6 Preview 2 in test_header_units_and_modules.hpp.
    • We don't usually test _MSC_FULL_VER (as it's too volatile between MSVC-internal branches) but this value should be safe as it's released. The PR/CI system is currently using Preview 1, and we won't be able to update to Preview 2 due to a blocking bug in the VS Installer, so this is needed for local test runs to pass, until we can update to Preview 3 and entirely clear out this workaround.

@StephanTLavavej StephanTLavavej added the test Related to test code label Mar 29, 2023
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner March 29, 2023 18:40
@github-actions github-actions bot added this to Initial Review in Code Reviews Mar 29, 2023
@StephanTLavavej StephanTLavavej moved this from Initial Review to Final Review in Code Reviews Mar 29, 2023
@StephanTLavavej
Copy link
Member Author

I'm speculatively mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@strega-nil-ms strega-nil-ms moved this from Final Review to Ready To Merge in Code Reviews Mar 30, 2023
@StephanTLavavej StephanTLavavej merged commit 9231abe into microsoft:main Mar 30, 2023
Code Reviews automation moved this from Ready To Merge to Done Mar 30, 2023
@StephanTLavavej StephanTLavavej deleted the python branch March 30, 2023 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Related to test code
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants