[ty] Support type[T] with type variables by ibraheemdev · Pull Request #21650 · astral-sh/ruff (original) (raw)
mypy_primer results
Changes were detected when running on open source projects
bidict (https://github.com/jab/bidict)
- bidict/_base.py:519:16: error[invalid-return-type] Return type does not match returned value: expected
BT@__ror__, foundBidictBase[Any, Any] - Found 16 diagnostics
- Found 15 diagnostics
pegen (https://github.com/we-like-parsers/pegen)
- src/pegen/parser.py:28:19: error[unresolved-attribute] Object of type
F@loggerhas no attribute__name__ - src/pegen/parser.py:48:19: error[unresolved-attribute] Object of type
F@memoizehas no attribute__name__ - Found 50 diagnostics
- Found 48 diagnostics
python-chess (https://github.com/niklasf/python-chess)
- chess/init.py:1558:16: error[invalid-return-type] Return type does not match returned value: expected
Self@copy, foundBaseBoard - chess/init.py:1842:20: error[invalid-return-type] Return type does not match returned value: expected
Self@root, foundBoard - chess/pgn.py:1050:16: error[invalid-return-type] Return type does not match returned value: expected
Self@copy, foundHeaders - chess/variant.py:876:16: error[invalid-return-type] Return type does not match returned value: expected
Self@copy, foundCrazyhousePocket - Found 16 diagnostics
- Found 12 diagnostics
kornia (https://github.com/kornia/kornia)
- kornia/constants.py:36:16: error[invalid-return-type] Return type does not match returned value: expected
Iterator[Enum], foundIterator[object] - kornia/contrib/models/efficient_vit/nn/act.py:31:51: error[invalid-assignment] Object of type
dict[str, type[Unknown] | partial[Unknown]]is not assignable todict[str, type[Unknown]]
- Found 763 diagnostics
- Found 765 diagnostics
werkzeug (https://github.com/pallets/werkzeug)
- src/werkzeug/datastructures/headers.py:88:16: error[invalid-return-type] Return type does not match returned value: expected
str | tuple[str, str] | Self@__getitem__, foundHeaders - src/werkzeug/datastructures/headers.py:569:16: error[invalid-return-type] Return type does not match returned value: expected
Self@copy, foundHeaders - src/werkzeug/datastructures/structures.py:394:16: error[invalid-return-type] Return type does not match returned value: expected
Self@copy, foundMultiDict[K@MultiDict, V@MultiDict] - src/werkzeug/datastructures/structures.py:398:16: error[invalid-return-type] Return type does not match returned value: expected
Self@deepcopy, foundMultiDict[K@MultiDict, V@MultiDict] - tests/test_datastructures.py:560:29: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeget_description - tests/test_datastructures.py:561:9: error[unresolved-attribute] Unresolved attribute
show_exceptionon typeBaseException. - tests/test_datastructures.py:562:25: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeget_description - tests/test_datastructures.py:567:9: error[unresolved-attribute] Unresolved attribute
show_exceptionon typeBaseException. - tests/test_datastructures.py:568:25: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeget_description - tests/test_datastructures.py:570:29: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeget_description - tests/test_routing.py:39:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:44:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:49:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:54:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:59:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:106:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:111:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:116:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:149:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:185:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributecode - tests/test_routing.py:188:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:542:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:551:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:565:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:1101:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:1156:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:1164:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:1225:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeget_response - tests/test_routing.py:1237:9: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:1247:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:1266:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - tests/test_routing.py:1271:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributenew_url - Found 397 diagnostics
- Found 365 diagnostics
spack (https://github.com/spack/spack)
- lib/spack/spack/directives.py:298:15: error[invalid-assignment] Object of type
list[Unknown | ~str]is not assignable to((...) -> None) | str | list[((...) -> None) | str] | None
- lib/spack/spack/directives.py:298:15: error[invalid-assignment] Object of type
list[Unknown | ~str]is not assignable to((type[Unknown] | Unknown, /) -> None) | str | list[((type[Unknown] | Unknown, /) -> None) | str] | None
- lib/spack/spack/directives.py:299:37: error[not-iterable] Object of type
((...) -> None) | str | list[((...) -> None) | str] | Nonemay not be iterable
- lib/spack/spack/directives.py:299:37: error[not-iterable] Object of type
((type[Unknown] | Unknown, /) -> None) | str | list[((type[Unknown] | Unknown, /) -> None) | str] | Nonemay not be iterable
- lib/spack/spack/directives.py:323:26: error[not-iterable] Object of type
((...) -> None) | str | list[((...) -> None) | str] | Nonemay not be iterable
- lib/spack/spack/directives.py:323:26: error[not-iterable] Object of type
((type[Unknown] | Unknown, /) -> None) | str | list[((type[Unknown] | Unknown, /) -> None) | str] | Nonemay not be iterable - lib/spack/spack/vendor/jinja2/sandbox.py:121:31: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
- lib/spack/spack/vendor/jinja2/utils.py:157:23: error[unresolved-attribute] Object of type
F@internalcodehas no attribute__code__
- lib/spack/spack/vendor/jinja2/utils.py:43:42: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - lib/spack/spack/vendor/jinja2/utils.py:60:47: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - lib/spack/spack/vendor/jinja2/utils.py:73:46: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - lib/spack/spack/vendor/jinja2/utils.py:85:40: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - lib/spack/spack/vendor/jsonschema/exceptions.py:240:26: error[no-matching-overload] No overload of bound method
__init__matches arguments
- Found 7960 diagnostics
- Found 7965 diagnostics
pip (https://github.com/pypa/pip)
- src/pip/_vendor/rich/repr.py:90:49: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - src/pip/_vendor/rich/repr.py:93:35: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - src/pip/_vendor/rich/repr.py:95:50: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 603 diagnostics
- Found 600 diagnostics
jinja (https://github.com/pallets/jinja)
- src/jinja2/utils.py💯23: error[unresolved-attribute] Object of type
F@internalcodehas no attribute__code__
- src/jinja2/sandbox.py:111:31: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - src/jinja2/utils.py:51:42: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - src/jinja2/utils.py:68:47: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - src/jinja2/utils.py:81:46: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - src/jinja2/utils.py:93:40: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
- src/jinja2/utils.py:472:16: error[invalid-return-type] Return type does not match returned value: expected
Self@copy, foundLRUCache - Found 178 diagnostics
- Found 181 diagnostics
graphql-core (https://github.com/graphql-python/graphql-core)
- tests/language/test_lexer.py:38:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/language/test_lexer.py:39:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributedescription - tests/language/test_lexer.py:40:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributelocations - tests/language/test_lexer.py:552:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/language/test_lexer.py:555:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributelocations - tests/language/test_parser.py:62:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/language/test_parser.py:63:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributedescription - tests/language/test_parser.py:64:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributelocations - tests/language/test_parser.py:71:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/language/test_parser.py:72:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributedescription - tests/language/test_parser.py:73:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributelocations - tests/language/test_parser.py:81:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/language/test_parser.py:82:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributepositions - tests/language/test_parser.py:83:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributelocations - tests/language/test_schema_parser.py:57:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/language/test_schema_parser.py:58:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributedescription - tests/language/test_schema_parser.py:59:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributelocations - tests/type/test_definition.py:823:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:827:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:832:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:837:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:842:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:846:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:862:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:867:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:873:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:879:15: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:884:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/type/test_definition.py:891:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/utilities/test_ast_from_value.py:193:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/utilities/test_ast_from_value.py:199:13: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/utilities/test_coerce_input_value.py:462:20: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - tests/utilities/test_coerce_input_value.py:471:20: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemessage - Found 471 diagnostics
- Found 438 diagnostics
python-htmlgen (https://github.com/srittau/python-htmlgen)
- test_htmlgen/attribute.py:271:55: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - test_htmlgen/attribute.py:279:35: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 24 diagnostics
- Found 22 diagnostics
black (https://github.com/psf/black)
- src/blib2to3/pgen2/grammar.py:151:16: error[invalid-return-type] Return type does not match returned value: expected
_P@copy, foundGrammar - Found 63 diagnostics
- Found 62 diagnostics
starlette (https://github.com/encode/starlette)
- tests/test_config.py:20:5: error[type-assertion-failure] Type
strdoes not match asserted typeUnknown - tests/test_config.py:22:5: error[type-assertion-failure] Type
str | Nonedoes not match asserted typeNone - tests/test_config.py:23:5: error[type-assertion-failure] Type
strdoes not match asserted typeLiteral[""] - tests/test_config.py:25:5: error[type-assertion-failure] Type
booldoes not match asserted typeUnknown - tests/test_config.py:26:5: error[type-assertion-failure] Type
booldoes not match asserted typeLiteral[False] - tests/test_config.py:27:5: error[type-assertion-failure] Type
bool | Nonedoes not match asserted typeNone - Found 222 diagnostics
- Found 216 diagnostics
boostedblob (https://github.com/hauntsaninja/boostedblob)
- boostedblob/path.py:284:20: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - boostedblob/path.py:288:20: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
- Found 16 diagnostics
- Found 18 diagnostics
scrapy (https://github.com/scrapy/scrapy)
- scrapy/http/headers.py:128:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__copy__, foundHeaders - scrapy/item.py:128:16: error[invalid-return-type] Return type does not match returned value: expected
Self@copy, foundItem - scrapy/utils/datatypes.py:70:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__copy__, foundCaselessDict - scrapy/utils/misc.py:144:67: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
- tests/test_extension_throttle.py:186:5: error[invalid-assignment] Implicit shadowing of function
_adjust_delay - tests/test_extension_throttle.py:188:29: error[invalid-argument-type] Argument to bound method
_response_downloadedis incorrect: ExpectedResponse, foundNone
- Found 1739 diagnostics
- Found 1737 diagnostics
alerta (https://github.com/alerta/alerta)
- alerta/database/base.py:470:9: error[unresolved-attribute] Unresolved attribute
alertson typetype[QueryBuilder].
- alerta/database/base.py:470:9: error[unresolved-attribute] Unresolved attribute
alertson typetype[Self@init_app].
- alerta/database/base.py:471:9: error[unresolved-attribute] Unresolved attribute
blackoutson typetype[QueryBuilder].
- alerta/database/base.py:471:9: error[unresolved-attribute] Unresolved attribute
blackoutson typetype[Self@init_app].
- alerta/database/base.py:472:9: error[unresolved-attribute] Unresolved attribute
heartbeatson typetype[QueryBuilder].
- alerta/database/base.py:472:9: error[unresolved-attribute] Unresolved attribute
heartbeatson typetype[Self@init_app].
- alerta/database/base.py:473:9: error[unresolved-attribute] Unresolved attribute
keyson typetype[QueryBuilder].
- alerta/database/base.py:473:9: error[unresolved-attribute] Unresolved attribute
keyson typetype[Self@init_app].
- alerta/database/base.py:474:9: error[unresolved-attribute] Unresolved attribute
userson typetype[QueryBuilder].
- alerta/database/base.py:474:9: error[unresolved-attribute] Unresolved attribute
userson typetype[Self@init_app].
- alerta/database/base.py:475:9: error[unresolved-attribute] Unresolved attribute
groupson typetype[QueryBuilder].
- alerta/database/base.py:475:9: error[unresolved-attribute] Unresolved attribute
groupson typetype[Self@init_app].
- alerta/database/base.py:476:9: error[unresolved-attribute] Unresolved attribute
permson typetype[QueryBuilder].
- alerta/database/base.py:476:9: error[unresolved-attribute] Unresolved attribute
permson typetype[Self@init_app].
- alerta/database/base.py:477:9: error[unresolved-attribute] Unresolved attribute
customerson typetype[QueryBuilder].
- alerta/database/base.py:477:9: error[unresolved-attribute] Unresolved attribute
customerson typetype[Self@init_app].
beartype (https://github.com/beartype/beartype)
- beartype/_check/code/codemain.py:401:67: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - beartype/_decor/_nontype/_decordescriptor.py:153:9: error[invalid-argument-type] Argument to function
beartype_funcis incorrect: Argument type((Any, /) -> Any) | Nonedoes not satisfy upper boundtype | ((...) -> Any) | classmethod[Unknown, Unknown, Unknown] | property | staticmethod[Unknown, Unknown]of type variableBeartypeableT
- beartype/_util/api/standard/utilfunctools.py:308:55: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
- beartype/_util/cache/utilcachecall.py:180:34: error[unresolved-attribute] Object of type
CallableT@callable_cached & (() -> object)has no attribute__name__ - beartype/_util/cache/utilcachecall.py:417:34: error[unresolved-attribute] Object of type
CallableT@method_cached_arg_by_id & (() -> object)has no attribute__name__ - beartype/_util/cache/utilcachecall.py:568:44: error[unresolved-attribute] Object of type
CallableT@property_cached & (() -> object)has no attribute__name__ - beartype/_util/cache/utilcachemeta.py:79:41: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - beartype/typing/_typingpep544.py:217:79: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - beartype/typing/_typingpep544.py:237:35: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 507 diagnostics
- Found 500 diagnostics
pytest (https://github.com/pytest-dev/pytest)
- src/_pytest/fixtures.py:1242:29: error[unresolved-attribute] Object of type
FixtureFunction@__call__ & ~type & ~FixtureFunctionDefinitionhas no attribute__name__ - src/_pytest/nodes.py:110:48: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - src/_pytest/nodes.py:125:54: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
- src/_pytest/raises.py:446:50: error[invalid-assignment] Object of type
typeis not assignable totype[BaseException] | None - testing/python/metafunc.py:57:9: error[invalid-assignment] Object of type
FuncFixtureInfoMockis not assignable to attribute_fixtureinfoof typeFuncFixtureInfo - testing/python/metafunc.py:58:9: error[invalid-assignment] Object of type
SessionMockis not assignable to attributesessionof typeSession
- testing/python/raises.py:38:53: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises.py:51:40: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises.py:182:51: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises.py:350:49: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises.py:372:43: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises.py:384:50: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises.py:391:61: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises_group.py:41:23: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises_group.py:46:25: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/python/raises_group.py:1082:28: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/test_assertrewrite.py:2265:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeerrno - testing/test_mark_expression.py:140:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeoffset - testing/test_mark_expression.py:141:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_pytester.py:502:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_pytester.py:503:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_pytester.py:515:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_pytester.py:516:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_skipping.py:119:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_skipping.py:122:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_skipping.py:141:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_skipping.py:142:70: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_skipping.py:143:29: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/test_skipping.py:895:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributemsg - testing/typing_checks.py:54:5: error[type-assertion-failure] Type
ExceptionInfo[RuntimeError] | Nonedoes not match asserted typeExceptionInfo[BaseException] | None - testing/typing_raises_group.py:83:34: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expected((BaseException, /) -> bool) | None, founddef check_filenotfound(exc: FileNotFoundError) -> bool - testing/typing_raises_group.py:86:49: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expected((BaseException, /) -> bool) | None, founddef check_filenotfound(exc: FileNotFoundError) -> bool - testing/typing_raises_group.py:207:65: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - testing/typing_raises_group.py:218:67: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 457 diagnostics
- Found 429 diagnostics
rich (https://github.com/Textualize/rich)
- rich/repr.py:90:49: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - rich/repr.py:93:35: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - rich/repr.py:95:50: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 350 diagnostics
- Found 347 diagnostics
dulwich (https://github.com/dulwich/dulwich)
- dulwich/tests/utils.py:102:29: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 185 diagnostics
- Found 184 diagnostics
aiohttp-devtools (https://github.com/aio-libs/aiohttp-devtools)
- tests/test_runserver_serve.py:42:45: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - tests/test_runserver_serve.py:63:45: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - tests/test_runserver_serve.py:82:45: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - tests/test_runserver_serve.py:95:45: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - tests/test_runserver_serve.py:106:45: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - tests/test_runserver_watch.py:95:39: warning[unused-ignore-comment] Unused blanket
type: ignoredirective - Found 36 diagnostics
- Found 30 diagnostics
PyGithub (https://github.com/PyGithub/PyGithub)
- tests/BadAttributes.py:69:13: warning[possibly-missing-attribute] Attribute
argsmay be missing on object of typeException | None - tests/Exceptions.py:164:26: warning[possibly-missing-attribute] Attribute
getmay be missing on object of typedict[str, str] | None - tests/GithubRetry.py:400:71: warning[possibly-missing-attribute] Attribute
argsmay be missing on object of typeBaseException | None - tests/GithubRetry.py:402:35: warning[possibly-missing-attribute] Attribute
__cause__may be missing on object of typeBaseException | None - tests/GithubRetry.py:405:17: warning[possibly-missing-attribute] Attribute
__cause__may be missing on object of typeBaseException | None - tests/GithubRetry.py:405:17: warning[possibly-missing-attribute] Attribute
argsmay be missing on object of typeBaseException | None - tests/GraphQl.py:113:32: error[invalid-argument-type] Argument to bound method
assertRaisesis incorrect: Expectedtype[Unknown] | tuple[type[Unknown], ...], found<module 'github.GithubException'> - tests/GraphQl.py:149:32: error[invalid-argument-type] Argument to bound method
assertRaisesis incorrect: Expectedtype[Unknown] | tuple[type[Unknown], ...], found<module 'github.GithubException'>
- Found 288 diagnostics
- Found 296 diagnostics
schemathesis (https://github.com/schemathesis/schemathesis)
- src/schemathesis/core/registries.py🔞21: error[unresolved-attribute] Object of type
T@Registryhas no attribute__name__
- src/schemathesis/schemas.py:679:61: warning[unused-ignore-comment] Unused blanket
type: ignoredirective
poetry (https://github.com/python-poetry/poetry)
- tests/installation/test_chooser.py:358:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeget_text - tests/utils/test_authenticator.py:351:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeresponse - tests/utils/test_authenticator.py:352:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeresponse - tests/utils/test_authenticator.py:353:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeresponse - tests/utils/test_isolated_build.py:116:16: error[unresolved-attribute] Object of type
BaseExceptionhas no attributerequirements - tests/vcs/git/test_backend.py:283:12: error[unresolved-attribute] Object of type
BaseExceptionhas no attributeget_text - Found 970 diagnostics
- Found 964 diagnostics
nox (https://github.com/wntrblm/nox)
- nox/_decorators.py:53:9: error[unresolved-attribute] Object of type
T@_copy_funchas no attribute__code__ - nox/_decorators.py:54:9: error[unresolved-attribute] Object of type
T@_copy_funchas no attribute__globals__ - nox/_decorators.py:55:22: error[unresolved-attribute] Object of type
T@_copy_funchas no attribute__name__ - nox/_decorators.py:56:17: error[unresolved-attribute] Object of type
T@_copy_funchas no attribute__defaults__ - nox/_decorators.py:57:17: error[unresolved-attribute] Object of type
T@_copy_funchas no attribute__closure__ - nox/_decorators.py:61:26: error[unresolved-attribute] Object of type
T@_copy_funchas no attribute__kwdefaults__ - Found 29 diagnostics
- Found 23 diagnostics
artigraph (https://github.com/artigraph/artigraph)
- src/arti/internal/utils.py:97:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__add__, found_int - src/arti/internal/utils.py💯16: error[invalid-return-type] Return type does not match returned value: expected
Self@__and__, found_int - src/arti/internal/utils.py:103:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__ceil__, found_int - src/arti/internal/utils.py:106:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__floor__, found_int - src/arti/internal/utils.py:109:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__floordiv__, found_int - src/arti/internal/utils.py:112:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__invert__, found_int - src/arti/internal/utils.py:115:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__lshift__, found_int - src/arti/internal/utils.py:118:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__mod__, found_int - src/arti/internal/utils.py:121:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__mul__, found_int - src/arti/internal/utils.py:124:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__neg__, found_int - src/arti/internal/utils.py:127:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__or__, found_int - src/arti/internal/utils.py:130:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__pos__, found_int - src/arti/internal/utils.py:133:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__radd__, found_int - src/arti/internal/utils.py:136:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rand__, found_int - src/arti/internal/utils.py:139:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rfloordiv__, found_int - src/arti/internal/utils.py:142:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rlshift__, found_int - src/arti/internal/utils.py:145:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rmod__, found_int - src/arti/internal/utils.py:148:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rmul__, found_int - src/arti/internal/utils.py:151:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__ror__, found_int - src/arti/internal/utils.py:154:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__round__, found_int - src/arti/internal/utils.py:157:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rrshift__, found_int - src/arti/internal/utils.py:160:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rshift__, found_int - src/arti/internal/utils.py:163:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rsub__, found_int - src/arti/internal/utils.py:166:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__rxor__, found_int - src/arti/internal/utils.py:169:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__sub__, found_int - src/arti/internal/utils.py:172:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__trunc__, found_int - src/arti/internal/utils.py:175:16: error[invalid-return-type] Return type does not match returned value: expected
Self@__xor__, found_int
- src/arti/storage/init.py:221:13: error[invalid-argument-type] Argument is incorrect: Expected
tuple[str, ...], foundstr | Any
- Found 173 diagnostics
- Found 147 diagnostics
mitmproxy (https://github.com/mitmproxy/mitmproxy)
- test/mitmproxy/proxy/layers/http/test_http.py:44:40: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:44:40: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:46:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:46:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:48:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:48:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:50:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:50:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:52:13: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:52:13: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:54:41: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:54:41: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:56:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:56:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:57:34: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:57:34: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow] - test/mitmproxy/proxy/layers/http/test_http.py:63:12: error[call-non-callable] Object of type
Serveris not callable
- test/mitmproxy/proxy/layers/http/test_http.py:88:36: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:88:36: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py💯40: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py💯40: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:102:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:102:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:106:36: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:106:36: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:110:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:110:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:112:13: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:112:13: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:114:41: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:114:41: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:116:34: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:116:34: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:161:31: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:161:31: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:163:25: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:163:25: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:165:19: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:165:19: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:167:9: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:167:9: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server] - test/mitmproxy/proxy/layers/http/test_http.py:175:16: error[call-non-callable] Object of type
Serveris not callable - test/mitmproxy/proxy/layers/http/test_http.py:177:16: error[call-non-callable] Object of type
Serveris not callable
- test/mitmproxy/proxy/layers/http/test_http.py:200:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:200:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:202:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:202:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:203:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:203:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:214:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:214:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:216:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:216:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:217:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:217:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server] - test/mitmproxy/proxy/layers/http/test_http.py:220:12: error[call-non-callable] Object of type
Serveris not callable - test/mitmproxy/proxy/layers/http/test_http.py:221:12: error[call-non-callable] Object of type
Serveris not callable
- test/mitmproxy/proxy/layers/http/test_http.py:289:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:289:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:291:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:291:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:292:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:292:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:293:29: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:293:29: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:294:28: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:294:28: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:314:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, found(HTTPFlow & Unknown) | (_Placeholder[HTTPFlow] & Unknown) | (HTTPFlow & _Placeholder[Unknown]) | (_Placeholder[HTTPFlow] & _Placeholder[Unknown])
- test/mitmproxy/proxy/layers/http/test_http.py:314:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:316:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:316:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:318:35: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, found(HTTPFlow & Unknown) | (_Placeholder[HTTPFlow] & Unknown) | (HTTPFlow & _Placeholder[Unknown]) | (_Placeholder[HTTPFlow] & _Placeholder[Unknown])
- test/mitmproxy/proxy/layers/http/test_http.py:318:35: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:324:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:324:33: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:325:29: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:325:29: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:326:28: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:326:28: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:328:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:328:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:330:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:330:21: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:331:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:331:25: error[invalid-argument-type] Argument is incorrect: Expected
Connection, foundServer | _Placeholder[Server] - test/mitmproxy/proxy/layers/http/test_http.py:334:12: error[call-non-callable] Object of type
Serveris not callable - test/mitmproxy/proxy/layers/http/test_http.py:334:25: error[call-non-callable] Object of type
Serveris not callable - test/mitmproxy/proxy/layers/http/test_http.py:335:12: error[call-non-callable] Object of type
HTTPFlowis not callable - test/mitmproxy/proxy/layers/http/test_http.py:335:34: error[call-non-callable] Object of type
Serveris not callable - test/mitmproxy/proxy/layers/http/test_http.py:336:16: error[call-non-callable] Object of type
HTTPFlowis not callable
- test/mitmproxy/proxy/layers/http/test_http.py:362:40: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:362:40: error[invalid-argument-type] Argument is incorrect: Expected
HTTPFlow, foundHTTPFlow | _Placeholder[HTTPFlow]
- test/mitmproxy/proxy/layers/http/test_http.py:364:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:364:27: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundServer | _Placeholder[Server]
- test/mitmproxy/proxy/layers/http/test_http.py:367:13: error[invalid-argument-type] Argument to bound method
__init__is incorrect: ExpectedConnection, foundUnknown | _Placeholder[Unknown]
- test/mitmproxy/proxy/layers/http/test_http.py:367:13: error[invalid-argument-type] Argument to bound method
__init__is incorrect: Expec
... (truncated 3113 lines) ...
Memory usage changes were detected when running on open source projects
trio (https://github.com/python-trio/trio)
- TOTAL MEMORY USAGE: ~159MB
- TOTAL MEMORY USAGE: ~167MB
struct fields = ~11MB
struct fields = ~12MB
sphinx (https://github.com/sphinx-doc/sphinx)
struct metadata = ~20MB
struct metadata = ~21MB
prefect (https://github.com/PrefectHQ/prefect)
struct metadata = ~40MB
struct metadata = ~42MB