Skip to content

Commit

Permalink
Merge pull request #12893 from notatallshaw/update-ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr authored Aug 5, 2024
2 parents 4f4287c + 605fdec commit 3259c06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repos:
- id: black

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.5.6
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
1 change: 1 addition & 0 deletions news/12893.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update ruff in pre-commit to 0.5.6
2 changes: 1 addition & 1 deletion src/pip/_internal/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def __str__(self) -> str:

# This is useful for testing.
def __eq__(self, other: Any) -> bool:
if type(self) != type(other):
if type(self) is not type(other):
return False

# The string being used for redaction doesn't also have to match,
Expand Down

0 comments on commit 3259c06

Please sign in to comment.