Skip to content

Commit 63707ac

Browse files
Merge pull request #122 from jarrodmillman/pre-commit-7.4.24
Update pre-commit
2 parents 2661e06 + 9b50656 commit 63707ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0
6+
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
77
hooks:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
@@ -24,12 +24,12 @@ repos:
2424
args: [--prose-wrap=preserve]
2525

2626
- repo: https://github.com/psf/black
27-
rev: 552baf822992936134cbd31a38f69c8cfe7c0f05 # frozen: 24.3.0
27+
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
2828
hooks:
2929
- id: black
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: 0ccbb5b7942d83fbcf7cb5e0fd99633efd2351d7 # frozen: v0.3.5
32+
rev: 1dc9eb131c2ea4816c708e4d85820d2cc8542683 # frozen: v0.5.0
3333
hooks:
3434
- id: ruff
3535
args: [--fix, --exit-non-zero-on-fix]

lazy_loader/tests/test_lazy_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def test_lazy_import_subpackages():
3535
with pytest.warns(RuntimeWarning):
3636
hp = lazy.load("html.parser")
3737
assert "html" in sys.modules
38-
assert type(sys.modules["html"]) == type(pytest)
38+
assert type(sys.modules["html"]) is type(pytest)
3939
assert isinstance(hp, importlib.util._LazyModule)
4040
assert "html.parser" in sys.modules
4141
assert sys.modules["html.parser"] == hp

0 commit comments

Comments
 (0)