Skip to content

Conversation

@pre-commit-ci
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Aug 1, 2023

pre-commit-ci bot and others added 2 commits August 1, 2023 08:50
updates:
- [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](PyCQA/flake8@6.0.0...6.1.0)
- [github.com/asottile/pyupgrade: v3.9.0 → v3.10.1](asottile/pyupgrade@v3.9.0...v3.10.1)

explanation = approx_side._repr_compare(other_side)
elif type(left) == type(right) and (
elif isinstance(left, type(right)) and (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think type(left) is type(right) is more correct -- same for the test below

Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Pierre-Sassoulas Pierre-Sassoulas merged commit c916340 into main Aug 1, 2023
@Pierre-Sassoulas Pierre-Sassoulas deleted the pre-commit-ci-update-config branch August 1, 2023 21:52
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.

3 participants