diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92197dac..c498e0f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.1 + rev: v0.5.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/tests/test_functional.py b/tests/test_functional.py index d4feb6e6..d434c24e 100644 --- a/tests/test_functional.py +++ b/tests/test_functional.py @@ -338,7 +338,7 @@ class TestFunctional: """ Metaclass data is preserved. """ - assert Meta == type(cls) + assert Meta is type(cls) @pytest.mark.benchmark() def test_default_decorator(self):