File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ translations = [
131131types = [
132132 " mypy==1.18.2" ,
133133 " pyrefly" ,
134- " pyright==1.1.400 " ,
134+ " pyright==1.1.406 " ,
135135 " ty" ,
136136 { include-group = " type-stubs" },
137137]
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class methods and static methods.
103103 if ispartial (obj ):
104104 obj = obj .func
105105 elif inspect .isroutine (obj ) and hasattr (obj , '__wrapped__' ):
106- obj = obj .__wrapped__
106+ obj = obj .__wrapped__ # pyright: ignore[reportFunctionMemberAccess]
107107 elif isclassmethod (obj ) or isstaticmethod (obj ):
108108 obj = obj .__func__
109109 else :
@@ -114,7 +114,7 @@ class methods and static methods.
114114 if ispartial (obj ):
115115 obj = obj .func
116116 elif inspect .isroutine (obj ) and hasattr (obj , '__wrapped__' ):
117- obj = obj .__wrapped__
117+ obj = obj .__wrapped__ # pyright: ignore[reportFunctionMemberAccess]
118118 elif isclassmethod (obj ) or isstaticmethod (obj ):
119119 obj = obj .__func__
120120 else :
@@ -385,7 +385,7 @@ def is_singledispatch_function(obj: Any) -> bool:
385385 inspect .isfunction (obj )
386386 and hasattr (obj , 'dispatch' )
387387 and hasattr (obj , 'register' )
388- and obj .dispatch .__module__ == 'functools'
388+ and obj .dispatch .__module__ == 'functools' # pyright: ignore[reportFunctionMemberAccess]
389389 )
390390
391391
You can’t perform that action at this time.
0 commit comments