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

Use isinstance instead of checking type equality #1459

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

matt-graham
Copy link
Collaborator

Scheduled checks run failed on master due to an explicit comparison between type evaluated on an object an a type rather than using isinstance (or is with type).

@matt-graham
Copy link
Collaborator Author

@willGraham01 tagging you for a review if that's okay as this should hopefully be quick as it's a couple of line change!

@willGraham01 willGraham01 merged commit 9101bef into master Sep 9, 2024
59 checks passed
@willGraham01 willGraham01 deleted the mmg/fix-explicit-type-comparison branch September 9, 2024 12:01
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