mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 14:36:54 +00:00
core: Bump ruff version to 0.12 (#31846)
This commit is contained in:
committed by
GitHub
parent
73552883c3
commit
8aed3b61a9
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user