core: Bump ruff version to 0.12 (#31846)

This commit is contained in:
Christophe Bornet
2025-07-07 16:02:51 +02:00
committed by GitHub
parent 73552883c3
commit 8aed3b61a9
16 changed files with 1642 additions and 1615 deletions

View File

@@ -21,6 +21,8 @@ class NonBoolObj:
def __repr__(self) -> str:
return self.__class__.__name__
__hash__ = None # type: ignore[assignment]
def test_simple_serialization() -> None:
class Foo(Serializable):
@@ -100,6 +102,8 @@ def test__is_field_useful() -> None:
def __eq__(self, other: object) -> bool:
return self # type: ignore[return-value]
__hash__ = None # type: ignore[assignment]
default_x = ArrayObj()
default_y = NonBoolObj()