mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:04:51 +00:00
[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:
parent
d8e43bf9f7
commit
3dbdd2b883
4 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue