Skip to content

Commit 84094cc

Browse files
committed
make _SchemaMeta hashable for ruff pre-commit test
1 parent 68ff536 commit 84094cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_integration_autodoc_type_aliases.py

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def dec(val: T) -> T:
3838

3939

4040
class _SchemaMeta(type):
41+
def __hash__(cls): ...
4142
def __eq__(cls, other: object) -> bool:
4243
return True
4344

0 commit comments

Comments
 (0)