You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a = 2 # type: int # E: Using type comments with mypy is (soft-)deprecated, use inline annotations instead [type-comment]
1342
+
1343
+
for b in (): # type: int # E: Using type comments with mypy is (soft-)deprecated, use inline annotations instead [type-comment]
1344
+
...
1345
+
1346
+
with f() as foo: # type: int # type: ignore[name-defined] # E: Using type comments with mypy is (soft-)deprecated, use inline annotations instead [type-comment]
1347
+
...
1348
+
1349
+
def func(d, e): # E: Using type comments with mypy is (soft-)deprecated, use inline annotations instead [type-comment]
1350
+
# type: (str, int) -> bool
1351
+
...
1352
+
1353
+
async def func2(): # E: Using type comments with mypy is (soft-)deprecated, use inline annotations instead [type-comment]
1354
+
# type: () -> None
1355
+
1356
+
async for c in g(): # type: int # type: ignore[name-defined] # E: Using type comments with mypy is (soft-)deprecated, use inline annotations instead [type-comment]
0 commit comments