Skip to content

Commit 3259c06

Browse files
authored
Merge pull request #12893 from notatallshaw/update-ruff
2 parents 4f4287c + 605fdec commit 3259c06

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.5.0
25+
rev: v0.5.6
2626
hooks:
2727
- id: ruff
2828
args: [--fix, --exit-non-zero-on-fix]

news/12893.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update ruff in pre-commit to 0.5.6

src/pip/_internal/utils/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ def __str__(self) -> str:
555555

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

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

0 commit comments

Comments
 (0)