diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 816f7495..775e5c1c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,24 +7,24 @@ exclude: .asv repos: - repo: https://github.com/crate-ci/typos - rev: v1.22.0 + rev: v1.24.5 hooks: - id: typos - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.7 + rev: v0.6.4 hooks: - id: ruff args: [--fix, --unsafe-fixes] - id: ruff-format - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.18 + rev: v0.19 hooks: - id: validate-pyproject - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.0 + rev: v1.11.2 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