[pyupgrade] Remove non-pep604-isinstance (UP038) (#19156)

## Summary
This PR Removes deprecated UP038 as per instructed in #18727 
closes #18727 
## Test Plan
I have run tests non of them failing 

One Question i have is do we have to document that UP038 is removed?

---------

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
This commit is contained in:
हिमांशु 2025-09-05 19:38:04 +05:30 committed by Brent Westbrook
parent d8e43bf9f7
commit 3dbdd2b883
4 changed files with 3 additions and 7 deletions

View file

@ -62,9 +62,6 @@ ignore = [
# These are enforced by, or incompatible with, the ruff formatter:
"E203",
"E501",
# Makes code slower and more verbose
# https://github.com/astral-sh/ruff/issues/7871
"UP038",
]
unfixable = [
"F841", # unused variable. ruff keeps the call, but mostly it's best to get rid of it all