Skip to content

Commit d0836a5

Browse files
authored
Add noqas for now
1 parent f26adc4 commit d0836a5

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

stdlib/_operator.pyi

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -122,55 +122,55 @@ class _SupportsRXOr(Protocol[_T_contra, _T_co]):
122122

123123
@type_check_only
124124
class _SupportsIAdd(Protocol[_T_contra, _T_co]):
125-
def __iadd__(self, other: _T_contra) -> _T_co: ...
125+
def __iadd__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
126126

127127
@type_check_only
128128
class _SupportsIAnd(Protocol[_T_contra, _T_co]):
129-
def __iand__(self, other: _T_contra) -> _T_co: ...
129+
def __iand__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
130130

131131
@type_check_only
132132
class _SupportsILShift(Protocol[_T_contra, _T_co]):
133-
def __ilshift__(self, other: _T_contra) -> _T_co: ...
133+
def __ilshift__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
134134

135135
@type_check_only
136136
class _SupportsIMod(Protocol[_T_contra, _T_co]):
137-
def __imod__(self, other: _T_contra) -> _T_co: ...
137+
def __imod__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
138138

139139
@type_check_only
140140
class _SupportsIMul(Protocol[_T_contra, _T_co]):
141-
def __imul__(self, other: _T_contra) -> _T_co: ...
141+
def __imul__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
142142

143143
@type_check_only
144144
class _SupportsIMatMul(Protocol[_T_contra, _T_co]):
145-
def __imatmul__(self, other: _T_contra) -> _T_co: ...
145+
def __imatmul__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
146146

147147
@type_check_only
148148
class _SupportsIOr(Protocol[_T_contra, _T_co]):
149-
def __ior__(self, other: _T_contra) -> _T_co: ...
149+
def __ior__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
150150

151151
@type_check_only
152152
class _SupportsIPow(Protocol[_T_contra, _T_co]):
153-
def __ipow__(self, other: _T_contra) -> _T_co: ...
153+
def __ipow__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
154154

155155
@type_check_only
156156
class _SupportsIRShift(Protocol[_T_contra, _T_co]):
157-
def __irshift__(self, other: _T_contra) -> _T_co: ...
157+
def __irshift__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
158158

159159
@type_check_only
160160
class _SupportsISub(Protocol[_T_contra, _T_co]):
161-
def __isub__(self, other: _T_contra) -> _T_co: ...
161+
def __isub__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
162162

163163
@type_check_only
164164
class _SupportsITrueDiv(Protocol[_T_contra, _T_co]):
165-
def __itruediv__(self, other: _T_contra) -> _T_co: ...
165+
def __itruediv__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
166166

167167
@type_check_only
168168
class _SupportsIXOr(Protocol[_T_contra, _T_co]):
169-
def __ixor__(self, other: _T_contra) -> _T_co: ...
169+
def __ixor__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
170170

171171
@type_check_only
172172
class _SupportsIFloorDiv(Protocol[_T_contra, _T_co]):
173-
def __ifloordiv__(self, other: _T_contra) -> _T_co: ...
173+
def __ifloordiv__(self, other: _T_contra) -> _T_co: ... # noqa: Y034
174174

175175
# All four comparison functions must have the same signature, or we get false-positive errors
176176
def lt(a: _SupportsComparison, b: _SupportsComparison, /) -> Any: ...

0 commit comments

Comments
 (0)