Skip to content

fix E721 Do not compare types, use isinstance() - #4992

Merged
patrickvonplaten merged 1 commit into
huggingface:mainfrom
kashif:ruff
Sep 12, 2023
Merged

fix E721 Do not compare types, use isinstance()#4992
patrickvonplaten merged 1 commit into
huggingface:mainfrom
kashif:ruff

Conversation

@kashif

@kashif kashif commented Sep 12, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR fixes the use of comparing types and instead uses isinstance()

@kashif
kashif requested a review from DN6 September 12, 2023 10:25
@patrickvonplaten

Copy link
Copy Markdown
Contributor

Failing tests are unrelated - happy to merge this one

@patrickvonplaten
patrickvonplaten merged commit 73bf620 into huggingface:main Sep 12, 2023
@kashif
kashif deleted the ruff branch September 12, 2023 14:53
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
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