We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5bad4b commit bff5db7Copy full SHA for bff5db7
.pre-commit-config.yaml
@@ -22,7 +22,7 @@ repos:
22
- id: black
23
24
- repo: https://github.com/astral-sh/ruff-pre-commit
25
- rev: v0.5.0
+ rev: v0.5.6
26
hooks:
27
- id: ruff
28
args: [--fix, --exit-non-zero-on-fix]
src/pip/_internal/utils/misc.py
@@ -555,7 +555,7 @@ def __str__(self) -> str:
555
556
# This is useful for testing.
557
def __eq__(self, other: Any) -> bool:
558
- if type(self) != type(other):
+ if type(self) is not type(other):
559
return False
560
561
# The string being used for redaction doesn't also have to match,
0 commit comments