diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5ee51fd3..d696f24d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,12 +7,12 @@ exclude: .asv repos: - repo: https://github.com/crate-ci/typos - rev: v1.22.9 + rev: v1.23.5 hooks: - id: typos - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.0 + rev: v0.5.5 hooks: - id: ruff args: [--fix, --unsafe-fixes] @@ -24,7 +24,7 @@ repos: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.11.0 hooks: - id: mypy exclude: tests|_throttler.pyi diff --git a/tests/test_group_descriptor.py b/tests/test_group_descriptor.py index d54805c1..98270b05 100644 --- a/tests/test_group_descriptor.py +++ b/tests/test_group_descriptor.py @@ -263,7 +263,7 @@ class Bar(Foo): assert "b" in bar.events else: - assert type(foo.events) == signal_class + assert type(foo.events) is signal_class assert "a" not in foo.events assert "a" not in bar.events assert "b" not in bar.events