From 9ebd31c8947da2deeab9f4f9118d38c8d8eb2167 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Mon, 15 Jul 2024 11:15:17 +0200 Subject: [PATCH] update ruff --- .pre-commit-config.yaml | 2 +- tests/test_functional.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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):