update ruff

This commit is contained in:
Hynek Schlawack 2024-07-15 11:15:17 +02:00
parent 08b1b9ccd0
commit 9ebd31c894
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -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):