[ty] Support empty function bodies in if TYPE_CHECKING blocks by MatthewMckee4 · Pull Request #19372 · astral-sh/ruff (original) (raw)
mypy_primer results
Changes were detected when running on open source projects
pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
- warning[unused-ignore-comment] tests/conftest.py:93:76: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:96:80: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:99:55: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:102:65: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:105:77: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:108:89: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:111:99: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:116:26: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:203:82: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:207:73: Unused
ty: ignoredirective: 'invalid-return-type' - warning[unused-ignore-comment] tests/conftest.py:214:47: Unused
ty: ignoredirective: 'invalid-return-type'
- Found 179 diagnostics
- Found 190 diagnostics
kornia (https://github.com/kornia/kornia)
- error[invalid-return-type] kornia/utils/_compat.py:50:82: Function always implicitly returns
None, which is not assignable to return typetuple[Unknown, ...] - Found 790 diagnostics
- Found 789 diagnostics
operator (https://github.com/canonical/operator)
- error[invalid-return-type] ops/charm.py:1437:25: Function always implicitly returns
None, which is not assignable to return typeCharmEvents - error[invalid-return-type] ops/framework.py:394:25: Function always implicitly returns
None, which is not assignable to return typeObjectEvents - error[invalid-return-type] ops/framework.py:606:25: Function always implicitly returns
None, which is not assignable to return typeFrameworkEvents - error[invalid-return-type] ops/framework.py:1158:28: Function always implicitly returns
None, which is not assignable to return typeStoredStateData - error[invalid-return-type] ops/framework.py:1161:33: Function always implicitly returns
None, which is not assignable to return typestr - Found 114 diagnostics
- Found 109 diagnostics
comtypes (https://github.com/enthought/comtypes)
- error[invalid-return-type] comtypes/_post_coinit/misc.py:58:33: Function always implicitly returns
None, which is not assignable to return typeGUID - error[invalid-return-type] comtypes/automation.py:816:39: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/connectionpoints.py:35:43: Function always implicitly returns
None, which is not assignable to return typeIEnumConnectionPoints - error[invalid-return-type] comtypes/connectionpoints.py:36:56: Function always implicitly returns
None, which is not assignable to return typeIConnectionPoint - error[invalid-return-type] comtypes/connectionpoints.py:45:50: Function always implicitly returns
None, which is not assignable to return typeIConnectionPointContainer - error[invalid-return-type] comtypes/connectionpoints.py:46:49: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/connectionpoints.py:48:38: Function always implicitly returns
None, which is not assignable to return typeIEnumConnections - error[invalid-return-type] comtypes/connectionpoints.py:57:46: Function always implicitly returns
None, which is not assignable to return typetuple[tagCONNECTDATA, int] - error[invalid-return-type] comtypes/connectionpoints.py:60:28: Function always implicitly returns
None, which is not assignable to return typeIEnumConnections - error[invalid-return-type] comtypes/connectionpoints.py:78:46: Function always implicitly returns
None, which is not assignable to return typetuple[IConnectionPoint, int] - error[invalid-return-type] comtypes/connectionpoints.py:81:28: Function always implicitly returns
None, which is not assignable to return typeIEnumConnectionPoints - error[invalid-return-type] comtypes/errorinfo.py:51:30: Function always implicitly returns
None, which is not assignable to return typeGUID - error[invalid-return-type] comtypes/errorinfo.py:52:32: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] comtypes/errorinfo.py:53:37: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] comtypes/errorinfo.py:54:34: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] comtypes/errorinfo.py:55:37: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/persist.py:258:33: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] comtypes/shelllink.py:143:29: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/shelllink.py:147:30: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/shelllink.py:278:29: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/shelllink.py:282:30: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/stream.py:57:71: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:239:39: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:243:46: Function always implicitly returns
None, which is not assignable to return typeITypeInfo - error[invalid-return-type] comtypes/typeinfo.py:247:50: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:251:52: Function always implicitly returns
None, which is not assignable to return typeITypeInfo - error[invalid-return-type] comtypes/typeinfo.py:255:34: Function always implicitly returns
None, which is not assignable to return typeITypeComp - error[invalid-return-type] comtypes/typeinfo.py:261:14: Function always implicitly returns
None, which is not assignable to return typetuple[str, str | None, int, str | None] - error[invalid-return-type] comtypes/typeinfo.py:265:66: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:325:34: Function always implicitly returns
None, which is not assignable to return typeITypeComp - error[invalid-return-type] comtypes/typeinfo.py:329:55: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:333:51: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:346:14: Function always implicitly returns
None, which is not assignable to return typetuple[str | None, str | None, int] - error[invalid-return-type] comtypes/typeinfo.py:352:48: Function always implicitly returns
None, which is not assignable to return typeITypeInfo - error[invalid-return-type] comtypes/typeinfo.py:360:43: Function always implicitly returns
None, which is not assignable to return typetuple[ITypeLib, int] - error[invalid-return-type] comtypes/typeinfo.py:364:71: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:368:71: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:372:68: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:523:30: Function always implicitly returns
None, which is not assignable to return typeGUID - error[invalid-return-type] comtypes/typeinfo.py:524:30: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] comtypes/typeinfo.py:525:30: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:526:34: Function always implicitly returns
None, which is not assignable to return typeITypeInfo - error[invalid-return-type] comtypes/typeinfo.py:531:59: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] comtypes/typeinfo.py:533:67: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] comtypes/typeinfo.py:1170:35: Function always implicitly returns
None, which is not assignable to return typeITypeInfo - error[invalid-return-type] comtypes/typeinfo.py:1191:47: Function always implicitly returns
None, which is not assignable to return typeGUID - Found 466 diagnostics
- Found 420 diagnostics
trio (https://github.com/python-trio/trio)
- error[invalid-return-type] src/trio/_core/_exceptions.py:120:14: Function always implicitly returns
None, which is not assignable to return typeSelf - error[invalid-return-type] src/trio/_file_io.py:304:57: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] src/trio/_file_io.py:306:61: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] src/trio/_file_io.py:310:64: Function always implicitly returns
None, which is not assignable to return typeT - error[invalid-return-type] src/trio/_file_io.py:312:57: Function always implicitly returns
None, which is not assignable to return typeBinaryIO - error[invalid-return-type] src/trio/_file_io.py:314:51: Function always implicitly returns
None, which is not assignable to return typeRawIOBase - error[invalid-return-type] src/trio/_file_io.py:316:72: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_file_io.py:318:59: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] src/trio/_file_io.py:320:53: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] src/trio/_file_io.py:322:53: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] src/trio/_file_io.py:324:57: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_file_io.py:325:57: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] src/trio/_file_io.py:326:61: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] src/trio/_file_io.py:327:61: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] src/trio/_file_io.py:328:61: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] src/trio/_file_io.py:329:69: Function always implicitly returns
None, which is not assignable to return typeAnyStr - error[invalid-return-type] src/trio/_file_io.py:330:63: Function always implicitly returns
None, which is not assignable to return typememoryview[Unknown] - error[invalid-return-type] src/trio/_file_io.py:332:93: Function always implicitly returns
None, which is not assignable to return typeAnyStr - error[invalid-return-type] src/trio/_file_io.py:333:87: Function always implicitly returns
None, which is not assignable to return typebytes - error[invalid-return-type] src/trio/_file_io.py:334:73: Function always implicitly returns
None, which is not assignable to return typeAnyStr - error[invalid-return-type] src/trio/_file_io.py:336:94: Function always implicitly returns
None, which is not assignable to return typeAnyStr - error[invalid-return-type] src/trio/_file_io.py:337:77: Function always implicitly returns
None, which is not assignable to return typelist[AnyStr] - error[invalid-return-type] src/trio/_file_io.py:338:92: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_file_io.py:339:59: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_file_io.py:340:95: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_file_io.py:341:76: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_file_io.py:343:88: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_file_io.py:344:85: Function always implicitly returns
None, which is not assignable to return typeAnyStr - error[invalid-return-type] src/trio/_socket.py:1120:59: Function always implicitly returns
None, which is not assignable to return typeAwaitable[bytes] - error[invalid-return-type] src/trio/_socket.py:1139:14: Function always implicitly returns
None, which is not assignable to return typeAwaitable[int] - error[invalid-return-type] src/trio/_socket.py:1157:14: Function always implicitly returns
None, which is not assignable to return typeAwaitable[tuple[bytes, @Todo(Support fortyping.TypeAlias)]] - error[invalid-return-type] src/trio/_socket.py:1176:14: Function always implicitly returns
None, which is not assignable to return typeAwaitable[tuple[int, @Todo(Support fortyping.TypeAlias)]] - error[invalid-return-type] src/trio/_socket.py:1198:18: Function always implicitly returns
None, which is not assignable to return typeAwaitable[tuple[bytes, list[tuple[int, int, bytes]], int, object]] - error[invalid-return-type] src/trio/_socket.py:1221:18: Function always implicitly returns
None, which is not assignable to return typeAwaitable[tuple[int, list[tuple[int, int, bytes]], int, object]] - error[invalid-return-type] src/trio/_socket.py:1235:61: Function always implicitly returns
None, which is not assignable to return typeAwaitable[int] - error[invalid-return-type] src/trio/_subprocess.py:51:44: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/trio/_subprocess.py:829:14: Function always implicitly returns
None, which is not assignable to return typeProcess - error[invalid-return-type] src/trio/_subprocess.py:892:14: Function always implicitly returns
None, which is not assignable to return typeCompletedProcess[bytes] - error[invalid-return-type] src/trio/_util.py:355:10: Function always implicitly returns
None, which is not assignable to return type(Fn, /) -> Fn - Found 785 diagnostics
- Found 746 diagnostics
mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
- error[invalid-return-type] bson/codec_options.py:266:14: Function always implicitly returns
None, which is not assignable to return typeCodecOptions[_DocumentType] - error[invalid-return-type] bson/codec_options.py:270:50: Function always implicitly returns
None, which is not assignable to return typeCodecOptions[Any] - error[invalid-return-type] bson/codec_options.py:273:38: Function always implicitly returns
None, which is not assignable to return typestr - error[invalid-return-type] bson/codec_options.py:276:36: Function always implicitly returns
None, which is not assignable to return typedict[Any, Any] - error[invalid-return-type] bson/codec_options.py:281:47: Function always implicitly returns
None, which is not assignable to return typeCodecOptions[_DocumentType] - error[invalid-return-type] bson/codec_options.py:284:30: Function always implicitly returns
None, which is not assignable to return typedict[str, Any] - error[invalid-return-type] bson/codec_options.py:287:46: Function always implicitly returns
None, which is not assignable to return typeCodecOptions[_DocumentType] - Found 430 diagnostics
- Found 423 diagnostics
pydantic (https://github.com/pydantic/pydantic)
- error[invalid-return-type] pydantic/v1/dataclasses.py:88:62: Function always implicitly returns
None, which is not assignable to return typeDataclassT - Found 748 diagnostics
- Found 747 diagnostics
pytest (https://github.com/pytest-dev/pytest)
- error[invalid-return-type] src/_pytest/_py/path.py:207:27: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] src/_pytest/_py/path.py:210:28: Function always implicitly returns
None, which is not assignable to return typeint | float - error[invalid-return-type] src/_pytest/mark/structures.py:491:14: Function always implicitly returns
None, which is not assignable to return typeMarkDecorator - error[invalid-return-type] src/_pytest/mark/structures.py:522:14: Function always implicitly returns
None, which is not assignable to return typeMarkDecorator
- warning[unused-ignore-comment] src/_pytest/mark/structures.py:525:63: Unused blanket
type: ignoredirective - warning[unused-ignore-comment] src/_pytest/mark/structures.py:529:62: Unused blanket
type: ignoredirective
- Found 519 diagnostics
- Found 517 diagnostics
bokeh (https://github.com/bokeh/bokeh)
- error[invalid-return-type] src/bokeh/core/has_props.py:49:39: Function always implicitly returns
None, which is not assignable to return type(F, /) -> F - Found 849 diagnostics
- Found 848 diagnostics
prefect (https://github.com/PrefectHQ/prefect)
- error[invalid-return-type] src/prefect/_internal/concurrency/calls.py:158:35: Function always implicitly returns
None, which is not assignable to return typeT - Found 3733 diagnostics
- Found 3732 diagnostics
zulip (https://github.com/zulip/zulip)
- error[invalid-return-type] zerver/lib/partial.py:36:62: Function always implicitly returns
None, which is not assignable to return type(...) -> R - Found 7259 diagnostics
- Found 7258 diagnostics
sympy (https://github.com/sympy/sympy)
- error[invalid-return-type] sympy/algebras/quaternion.py:122:27: Function always implicitly returns
None, which is not assignable to return typetuple[Expr, Expr, Expr, Expr] - error[invalid-return-type] sympy/core/add.py:194:27: Function always implicitly returns
None, which is not assignable to return typetuple[Expr, ...]
- warning[unused-ignore-comment] sympy/core/add.py:190:79: Unused blanket
type: ignoredirective
- error[invalid-return-type] sympy/core/expr.py:74:43: Function always implicitly returns
None, which is not assignable to return typeSelf - error[invalid-return-type] sympy/core/expr.py:91:73: Function always implicitly returns
None, which is not assignable to return typeBasic - error[invalid-return-type] sympy/core/expr.py:94:41: Function always implicitly returns
None, which is not assignable to return typeExpr - error[invalid-return-type] sympy/core/expr.py:99:70: Function always implicitly returns
None, which is not assignable to return typeExpr - error[invalid-return-type] sympy/core/mul.py:181:27: Function always implicitly returns
None, which is not assignable to return typetuple[Expr, ...]
- warning[unused-ignore-comment] sympy/core/mul.py:177:79: Unused blanket
type: ignoredirective
- error[invalid-return-type] sympy/core/power.py:118:27: Function always implicitly returns
None, which is not assignable to return typetuple[Expr, Expr] - error[invalid-return-type] sympy/core/relational.py:847:27: Function always implicitly returns
None, which is not assignable to return typetuple[Expr, Expr] - error[invalid-return-type] sympy/core/relational.py:851:26: Function always implicitly returns
None, which is not assignable to return typeExpr - error[invalid-return-type] sympy/core/relational.py:855:26: Function always implicitly returns
None, which is not assignable to return typeExpr - error[invalid-return-type] sympy/external/gmpy.py:206:30: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:207:32: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:209:30: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:210:30: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:211:51: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:212:46: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:213:51: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:214:46: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:215:51: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:216:46: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:217:45: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:218:46: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:219:56: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:220:51: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:221:51: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:222:46: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:223:54: Function always implicitly returns
None, which is not assignable to return typetuple[MPZ, MPZ] - error[invalid-return-type] sympy/external/gmpy.py:224:49: Function always implicitly returns
None, which is not assignable to return typetuple[MPZ, MPZ] - error[invalid-return-type] sympy/external/gmpy.py:226:48: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:227:49: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:228:48: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:229:49: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:231:51: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:232:46: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:233:50: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:234:45: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:235:51: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:236:46: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:237:33: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:239:50: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:240:50: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:241:50: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:242:50: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:252:30: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:255:32: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:257:34: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:259:30: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:260:30: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:261:57: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:262:52: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:263:57: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:264:52: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:265:57: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:266:52: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:267:45: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:269:61: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:270:56: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:272:62: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:273:57: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:274:57: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:275:52: Function always implicitly returns
None, which is not assignable to return typeMPQ - error[invalid-return-type] sympy/external/gmpy.py:276:60: Function always implicitly returns
None, which is not assignable to return typetuple[MPQ, MPQ] - error[invalid-return-type] sympy/external/gmpy.py:277:55: Function always implicitly returns
None, which is not assignable to return typetuple[MPQ, MPQ] - error[invalid-return-type] sympy/external/gmpy.py:279:56: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:280:56: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:281:56: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:282:56: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:294:36: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:295:36: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:296:36: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:297:31: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:298:34: Function always implicitly returns
None, which is not assignable to return typetuple[MPZ, MPZ] - error[invalid-return-type] sympy/external/gmpy.py:300:34: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:301:34: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:302:47: Function always implicitly returns
None, which is not assignable to return typetuple[MPZ, MPZ, MPZ] - error[invalid-return-type] sympy/external/gmpy.py:304:47: Function always implicitly returns
None, which is not assignable to return typeMPZ - error[invalid-return-type] sympy/external/gmpy.py:305:47: Function always implicitly returns
None, which is not assignable to return typetuple[MPZ, MPZ] - error[invalid-return-type] sympy/external/gmpy.py:306:40: Function always implicitly returns
None, which is not assignable to return typetuple[MPZ, bool] - error[invalid-return-type] sympy/external/gmpy.py:308:47: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:309:49: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:310:50: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/external/gmpy.py:312:36: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:313:40: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:314:39: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:315:40: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:316:43: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:317:39: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:318:43: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:319:46: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:320:50: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:321:38: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/external/gmpy.py:322:45: Function always implicitly returns
None, which is not assignable to return typebool - error[invalid-return-type] sympy/functions/elementary/complexes.py:84:26: Function always implicitly returns
None, which is not assignable to return typeMatrixBase | Expr
- warning[unused-ignore-comment] sympy/functions/elementary/complexes.py:888:52: Unused blanket
type: ignoredirective
- error[invalid-return-type] sympy/logic/boolalg.py:79:53: Function always implicitly returns
None, which is not assignable to return typeBoolean
- warning[unused-ignore-comment] sympy/logic/boolalg.py:607:91: Unused blanket
type: ignoredirective - warning[unused-ignore-comment] sympy/logic/boolalg.py:778:91: Unused blanket
type: ignoredirective
- error[invalid-return-type] sympy/logic/boolalg.py:96:73: Function always implicitly returns
None, which is not assignable to return typeBasic - error[invalid-return-type] sympy/logic/boolalg.py:99:41: Function always implicitly returns
None, which is not assignable to return typeBoolean - error[invalid-return-type] sympy/logic/boolalg.py:611:27: Function always implicitly returns
None, which is not assignable to return typetuple[Boolean, ...] - error[invalid-return-type] sympy/logic/boolalg.py:782:27: Function always implicitly returns
None, which is not assignable to return typetuple[Boolean, ...] - error[invalid-return-type] sympy/matrices/matrixbase.py:147:27: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/matrices/matrixbase.py:151:27: Function always implicitly returns
None, which is not assignable to return typeint - error[invalid-return-type] sympy/sets/sets.py:95:53: Function always implicitly returns
None, which is not assignable to return typeSet - error[invalid-return-type] sympy/sets/sets.py:112:73: Function always implicitly returns
None, which is not assignable to return typeBasic - error[invalid-return-type] sympy/sets/sets.py:120:70: Function always implicitly returns
None, which is not assignable to return typeSet - Found 13508 diagnostics
- Found 13409 diagnostics
No memory usage changes detected ✅