File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -550,9 +550,12 @@ if int() is str(): # E: Non-overlapping identity check (left operand type: "int
550550[builtins fixtures/primitives.pyi]
551551
552552[case testErrorCodeMissingModule]
553- # Note: it was too difficult for me to figure out how to test [import-untyped] here,
554- # (ideally, it would!)
555- # but testNamespacePkgWStubs does test that, anyway.
553+ -- Note: it was too difficult for me to figure out how to test [import-untyped] here,
554+ -- (ideally, it would!)
555+ -- but testNamespacePkgWStubs does test that, anyway.
556+ -- TODO: can this be done? The specific error message is
557+ -- Skipping analyzing "no_py_typed": module is installed, but missing library stubs or py.typed marker [import-untyped]
558+ -- which apparently was never tested for non-namespace packages before...
556559from defusedxml import xyz # E: Library stubs not installed for "defusedxml" [import-untyped-stubs-available] \
557560 # N: Hint: "python3 -m pip install types-defusedxml" \
558561 # N: (or run "mypy --install-types" to install all missing stub packages)
You can’t perform that action at this time.
0 commit comments