Skip to content

Commit 5d7f1e9

Browse files
authored
Merge pull request #13903 from sbidoul/pre-commit-update-sbi-202604
Update pre-commit hooks, except black
2 parents 2008422 + 430df58 commit 5d7f1e9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ repos:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.14.10
25+
rev: v0.15.10
2626
hooks:
2727
- id: ruff-check
2828
args: [--fix]
2929

3030
- repo: https://github.com/pre-commit/mirrors-mypy
31-
rev: v1.19.1
31+
rev: v1.20.0
3232
hooks:
3333
- id: mypy
3434
exclude: tests/data
@@ -60,7 +60,7 @@ repos:
6060
exclude: NEWS.rst # The errors flagged in NEWS.rst are old.
6161

6262
- repo: https://github.com/codespell-project/codespell
63-
rev: v2.4.1
63+
rev: v2.4.2
6464
hooks:
6565
- id: codespell
6666
exclude: AUTHORS.txt|tests/data

src/pip/_internal/utils/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ def __eq__(self, other: object) -> bool:
548548
if type(self) is type(other):
549549
# The string being used for redaction doesn't also have to match,
550550
# just the raw, original string.
551-
return self.secret == cast(HiddenText, other).secret
551+
return self.secret == other.secret
552552
return NotImplemented
553553

554554
# Disable hashing, since we have a custom __eq__ and don't need hash-ability

0 commit comments

Comments
 (0)