mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Make --namespace-packages the default

Open hauntsaninja opened this issue 3 years ago • 35 comments

Unfortunately, a number of tests fail. Please help fixing them :-) Especially the ones to do with cache inconsistencies... There's at least one known bug here: #7276

hauntsaninja avatar Oct 24 '20 21:10 hauntsaninja

Great stuff!

Some of the test failures can be tricky to debug; I can help with them.

JukkaL avatar Oct 27 '20 20:10 JukkaL

Yeah, I'd love help here, maybe you could take a look at testAddedMissingStubsPackage or testDeletePackage5?

hauntsaninja avatar Oct 27 '20 23:10 hauntsaninja

Yeah, I'd love help here, maybe you could take a look at testAddedMissingStubsPackage or testDeletePackage4?

Sure, I should have time to look at these later this week.

JukkaL avatar Oct 28 '20 18:10 JukkaL

Spent some time looking at this today. I was able to fix the "cache data discrepancy" errors.

I also spent some time looking at mypy daemon / fine grained errors, but that turned out to be a real rabbit hole. Since --follow-imports=normal support is explicitly experimental, maybe it should be non-blocking for this PR (ie, I can make those tests pass by adding --no-namespace-packages).

hauntsaninja avatar Nov 12 '20 08:11 hauntsaninja

Diff from mypy_primer, showing the effect of this PR on open source code:

+ jax/experimental/jax2tf/examples/saved_model_lib.py: error: Source file found twice under different module names: 'saved_model_lib' and 'jax.experimental.jax2tf.examples.saved_model_lib'
- jax/experimental/jax2tf/examples/keras_reuse_main.py:23: error: Cannot find implementation or library stub for module named 'jax.experimental.jax2tf.examples'
- jax/experimental/jax2tf/examples/keras_reuse_main.py:23: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- jax/tree_util.py:215: error: First argument to namedtuple() should be '_RegistryEntry', not 'RegistryEntry'
- jax/experimental/jax2tf/tests/primitive_harness.py:789: error: 'builtins.object*' object is not iterable
- jax/experimental/jax2tf/tests/primitive_harness.py:838: error: 'builtins.object*' object is not iterable
- jax/experimental/jax2tf/tests/primitive_harness.py:863: error: 'builtins.object*' object is not iterable
- jax/experimental/jax2tf/examples/saved_model_main_test.py:23: error: Cannot find implementation or library stub for module named 'jax.experimental.jax2tf.examples'
- jax/experimental/jax2tf/examples/keras_reuse_main_test.py:22: error: Cannot find implementation or library stub for module named 'jax.experimental.jax2tf.examples'

+ pegen/testutil.py:20: error: Import of 'data.python_parser' ignored  [misc]
+ pegen/testutil.py:20: error: unused 'type: ignore' comment
+ pegen/testutil.py:20: note: (Using --follow-imports=error, module not passed on command line)

+ homeassistant/generated/mqtt.py: error: Source file found twice under different module names: 'mqtt' and 'homeassistant.generated.mqtt'  [misc]
- homeassistant/components/http/static.py:15: error: Class cannot subclass 'StaticResource' (has type 'Any')  [misc]
- homeassistant/components/http/static.py:46: error: unused 'type: ignore' comment
- homeassistant/util/dt.py:128: error: Returning Any from function declared to return "Optional[datetime]"  [no-any-return]
- homeassistant/components/http/web_runner.py:10: error: Class cannot subclass 'BaseSite' (has type 'Any')  [misc]
- homeassistant/core.py:210: error: unused 'type: ignore' comment
- homeassistant/core.py:595: error: unused 'type: ignore' comment
- homeassistant/helpers/device_registry.py:570: error: Unsupported operand types for - ("Set[str]" and "Set[Optional[str]]")  [operator]
- homeassistant/helpers/location.py:23: error: unused 'type: ignore' comment
- homeassistant/components/frontend/__init__.py:421: error: Class cannot subclass 'AbstractResource' (has type 'Any')  [misc]
- homeassistant/util/ruamel_yaml.py:9: error: unused 'type: ignore' comment
- homeassistant/util/ruamel_yaml.py:22: error: Class cannot subclass 'SafeConstructor' (has type 'Any')  [misc]
- homeassistant/helpers/network.py:131: error: Returning Any from function declared to return "Optional[str]"  [no-any-return]
- homeassistant/helpers/aiohttp_client.py:73: error: unused 'type: ignore' comment

+ zerver/openapi/openapi.py: error: Source file found twice under different module names: 'openapi' and 'zerver.openapi.openapi'  [misc]
- zerver/openapi/markdown_extension.py:346: error: Dict entry 0 has incompatible type "str": "List[Optional[str]]"; expected "str": "str"  [dict-item]
- zerver/lib/markdown/tabbed_sections.py:163: error: Argument 1 to "TabbedSectionsGenerator" has incompatible type "**Dict[str, str]"; expected "Mapping[str, str]"  [arg-type]
- zerver/lib/markdown/api_arguments_table_generator.py:19: error: Dict entry 0 has incompatible type "str": "List[str]"; expected "str": "str"  [dict-item]
- zerver/lib/markdown/fenced_code.py:145: error: Dict entry 0 has incompatible type "str": "List[Any]"; expected "str": "str"  [dict-item]
- zerver/lib/markdown/fenced_code.py:158: error: Argument "run_content_validators" to "FencedBlockPreprocessor" has incompatible type "str"; expected "bool"  [arg-type]
- zerver/lib/markdown/__init__.py:527: error: Return type "Tuple[Optional[Element], int, int]" of "handleMatch" incompatible with return type "None" in supertype "InlineProcessor"  [override]
- zerver/lib/markdown/__init__.py:527: error: Signature of "handleMatch" incompatible with supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1239: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1344: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1355: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1365: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1387: error: Return type "Element" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1488: error: Return type "Union[Element, str, None]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1652: error: Return type "Union[Element, str]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1659: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1704: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1736: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1766: error: Return type "Optional[Element]" of "handleMatch" incompatible with return type "None" in supertype "Pattern"  [override]
- zerver/lib/markdown/__init__.py:1855: error: Return type "Tuple[Optional[Element], int, int]" of "handleMatch" incompatible with return type "None" in supertype "InlineProcessor"  [override]
- zerver/lib/markdown/__init__.py:1855: error: Signature of "handleMatch" incompatible with supertype "Pattern"  [override]
- zerver/lib/markdown/nested_code_blocks.py:75: error: Argument 1 to "NestedCodeBlocksRenderer" has incompatible type "**Dict[str, str]"; expected "Mapping[str, str]"  [arg-type]
- zerver/lib/test_runner.py:6: error: Module 'multiprocessing.sharedctypes' has no attribute 'Synchronized'  [attr-defined]

- src/black_primer/lib.py:64:13: error: Argument 1 to "CalledProcessError" has incompatible type "Optional[int]"; expected "int"
+ src/black_primer/lib.py: error: Source file found twice under different module names: 'lib' and 'black_primer.lib'

+ rich/__init__.py: error: Source file found twice under different module names: 'rich' and 'rich.__init__'

- Warning: unused section(s) in lib/mypy.ini: [mypy-scripts.add_license_headers], [mypy-cPickle], [mypy-flake8.main], [mypy-future.*], [mypy-pyflakes], [mypy-pyflakes.checker]
+ Warning: unused section(s) in lib/mypy.ini: [mypy-scripts.add_license_headers], [mypy-cPickle], [mypy-flake8.main], [mypy-future.*], [mypy-pipenv.*], [mypy-pyflakes], [mypy-pyflakes.checker], [mypy-setuptools.*]
+ lib/streamlit/__init__.py:52:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.RootContainer_pb2'  [import]
+ lib/streamlit/__init__.py:52:1: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
+ lib/streamlit/components/v1/components.py:30:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ArrowTable_pb2'  [import]
+ lib/streamlit/components/v1/components.py:31:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ComponentInstance_pb2'  [import]
+ lib/streamlit/components/v1/components.py:32:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Element_pb2'  [import]
+ lib/streamlit/elements/alert.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Alert_pb2'  [import]
+ lib/streamlit/elements/altair.py:22:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.VegaLiteChart_pb2'  [import]
+ lib/streamlit/elements/balloons.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Balloons_pb2'  [import]
+ lib/streamlit/elements/bokeh_chart.py:17:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.BokehChart_pb2'  [import]
+ lib/streamlit/elements/button.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Button_pb2'  [import]
+ lib/streamlit/elements/checkbox.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Checkbox_pb2'  [import]
+ lib/streamlit/elements/color_picker.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ColorPicker_pb2'  [import]
+ lib/streamlit/elements/data_frame_proto.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DataFrame_pb2'  [import]
+ lib/streamlit/elements/deck_gl_json_chart.py:16:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DeckGlJsonChart_pb2'  [import]
+ lib/streamlit/elements/doc_string.py:19:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DocString_pb2'  [import]
+ lib/streamlit/elements/empty.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Empty_pb2'  [import]
+ lib/streamlit/elements/exception_proto.py:19:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Exception_pb2'  [import]
+ lib/streamlit/elements/file_uploader.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.FileUploader_pb2'  [import]
+ lib/streamlit/elements/graphviz_chart.py:19:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.GraphVizChart_pb2'  [import]
- lib/streamlit/elements/empty.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Empty_pb2'  [import]
+ lib/streamlit/elements/image_proto.py:26:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Image_pb2'  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named 'tests.streamlit'  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher'  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data'  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data.nested_module_child'  [import]
- lib/streamlit/js_number.py: note: In member "validate_int_bounds" of class "JSNumber":
- lib/streamlit/js_number.py:67:27: error: Subclass of "int" and "Integral" cannot exist: would have incompatible method signatures  [unreachable]
- lib/streamlit/js_number.py: note: At top level:
- lib/streamlit/js_number.py:69: error: unused 'type: ignore' comment
- lib/streamlit/js_number.py: note: In member "validate_int_bounds" of class "JSNumber":
- lib/streamlit/js_number.py:69:9: error: Statement is unreachable  [unreachable]
- lib/streamlit/widgets.py:17:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.WidgetStates_pb2'  [import]
- lib/streamlit/elements/deck_gl_json_chart.py:16:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DeckGlJsonChart_pb2'  [import]
- lib/streamlit/elements/bokeh_chart.py:17:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.BokehChart_pb2'  [import]
- lib/streamlit/elements/balloons.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Balloons_pb2'  [import]
+ lib/streamlit/elements/json.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Json_pb2'  [import]
+ lib/streamlit/elements/map.py:23:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DeckGlJsonChart_pb2'  [import]
+ lib/streamlit/elements/markdown.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Markdown_pb2'  [import]
+ lib/streamlit/elements/media_proto.py:23:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Audio_pb2'  [import]
- lib/tests/streamlit/widgets_test.py:19:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.WidgetStates_pb2'  [import]
+ lib/streamlit/elements/media_proto.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Video_pb2'  [import]
- lib/tests/streamlit/temporary_directory_test.py:18:1: error: Cannot find implementation or library stub for module named 'testfixtures'  [import]
- lib/tests/streamlit/git_util_test.py:18:1: error: Cannot find implementation or library stub for module named 'git.exc'  [import]
+ lib/streamlit/elements/multiselect.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.MultiSelect_pb2'  [import]
- lib/streamlit/script_request_queue.py:20:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ClientState_pb2'  [import]
+ lib/streamlit/elements/number_input.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.NumberInput_pb2'  [import]
+ lib/streamlit/elements/plotly_chart.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.PlotlyChart_pb2'  [import]
- lib/streamlit/elements/map.py:23:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DeckGlJsonChart_pb2'  [import]
- lib/streamlit/elements/json.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Json_pb2'  [import]
- lib/streamlit/hashing.py: note: In member "_to_bytes" of class "_CodeHasher":
- lib/streamlit/hashing.py:476:64: error: Returning Any from function declared to return "SupportsLessThan"  [no-any-return]
- lib/streamlit/elements/graphviz_chart.py:19:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.GraphVizChart_pb2'  [import]
- lib/streamlit/elements/doc_string.py:19:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DocString_pb2'  [import]
- lib/streamlit/elements/data_frame_proto.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DataFrame_pb2'  [import]
- lib/streamlit/elements/vega_lite.py:22:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.VegaLiteChart_pb2'  [import]
- lib/streamlit/caching.py: note: In member "__init__" of class "_MemCaches":
- lib/streamlit/caching.py:64:9: error: Missing type parameters for generic type "TTLCache"  [type-arg]
- lib/streamlit/caching.py: note: In member "get_cache" of class "_MemCaches":
- lib/streamlit/caching.py:68:10: error: Missing type parameters for generic type "TTLCache"  [type-arg]
- lib/streamlit/caching.py:102:25: error: Need type annotation for 'mem_cache'  [var-annotated]
- lib/streamlit/caching.py:102:42: error: Argument "maxsize" to "TTLCache" has incompatible type "float"; expected "int"  [arg-type]
- lib/streamlit/caching.py: note: In member "has_changes" of class "Cache":
- lib/streamlit/caching.py:660:39: error: Argument 1 to "getfile" has incompatible type "Optional[FrameType]"; expected "Union[Module, Type[Any], MethodType, FunctionType, TracebackType, FrameType, CodeType, Callable[..., Any]]"  [arg-type]
- lib/streamlit/caching.py:663:28: error: Item "None" of "Optional[FrameType]" has no attribute "f_back"  [union-attr]
- lib/streamlit/caching.py:692:32: error: Item "None" of "Optional[FrameType]" has no attribute "f_globals"  [union-attr]
- lib/streamlit/caching.py:692:58: error: Item "None" of "Optional[FrameType]" has no attribute "f_locals"  [union-attr]
- lib/streamlit/caching.py:731:24: error: Item "None" of "Optional[FrameType]" has no attribute "f_globals"  [union-attr]
- lib/streamlit/caching.py:731:48: error: Item "None" of "Optional[FrameType]" has no attribute "f_locals"  [union-attr]
+ lib/streamlit/elements/radio.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Radio_pb2'  [import]
+ lib/streamlit/elements/select_slider.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Slider_pb2'  [import]
+ lib/streamlit/elements/selectbox.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Selectbox_pb2'  [import]
- lib/streamlit/elements/plotly_chart.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.PlotlyChart_pb2'  [import]
+ lib/streamlit/elements/slider.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Slider_pb2'  [import]
- lib/streamlit/elements/exception_proto.py:19:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Exception_pb2'  [import]
+ lib/streamlit/elements/text.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Text_pb2'  [import]
- lib/streamlit/commands/page_config.py:17:1: error: Module 'streamlit.proto' has no attribute 'PageConfig_pb2'  [attr-defined]
+ lib/streamlit/elements/text_widgets.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.TextInput_pb2'  [import]
- lib/streamlit/script_runner.py:30:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ClientState_pb2'  [import]
+ lib/streamlit/elements/text_widgets.py:2:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.TextArea_pb2'  [import]
- lib/streamlit/elements/text_widgets.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.TextInput_pb2'  [import]
- lib/streamlit/elements/text_widgets.py:2:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.TextArea_pb2'  [import]
- lib/streamlit/elements/text.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Text_pb2'  [import]
- lib/streamlit/elements/slider.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Slider_pb2'  [import]
- lib/streamlit/elements/selectbox.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Selectbox_pb2'  [import]
- lib/streamlit/elements/select_slider.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Slider_pb2'  [import]
- lib/streamlit/elements/radio.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Radio_pb2'  [import]
- lib/streamlit/elements/number_input.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.NumberInput_pb2'  [import]
- lib/streamlit/elements/multiselect.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.MultiSelect_pb2'  [import]
- lib/streamlit/elements/media_proto.py:23:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Audio_pb2'  [import]
- lib/streamlit/elements/media_proto.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Video_pb2'  [import]
- lib/streamlit/elements/markdown.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Markdown_pb2'  [import]
- lib/streamlit/elements/image_proto.py:26:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Image_pb2'  [import]
- lib/streamlit/elements/file_uploader.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.FileUploader_pb2'  [import]
- lib/streamlit/elements/color_picker.py:3:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ColorPicker_pb2'  [import]
- lib/streamlit/elements/checkbox.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Checkbox_pb2'  [import]
- lib/streamlit/elements/button.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Button_pb2'  [import]
- lib/streamlit/elements/altair.py:22:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.VegaLiteChart_pb2'  [import]
+ lib/streamlit/elements/vega_lite.py:22:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.VegaLiteChart_pb2'  [import]
- lib/streamlit/elements/alert.py:1:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Alert_pb2'  [import]
+ lib/streamlit/server/server.py:44:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.BackMsg_pb2'  [import]
- lib/streamlit/delta_generator.py:25:1: error: Module 'streamlit.proto' has no attribute 'Block_pb2'  [attr-defined]
+ lib/streamlit/server/server.py:45:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
+ lib/streamlit/forward_msg_cache.py:21:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/streamlit/__init__.py:52:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.RootContainer_pb2'  [import]
+ lib/streamlit/report.py:26:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.StaticManifest_pb2'  [import]
- lib/streamlit/__init__.py:52:1: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- lib/streamlit/__init__.py: note: In function "experimental_show":
- lib/streamlit/__init__.py:288:38: error: Argument 1 to "getframeinfo" has incompatible type "Optional[FrameType]"; expected "Union[FrameType, TracebackType]"  [arg-type]
- lib/tests/streamlit/util_test.py:19:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/show_test.py:18:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/script_request_queue_test.py:23:1: error: Module 'streamlit.script_runner' does not explicitly export attribute 'ScriptRequest'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/script_request_queue_test.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.WidgetStates_pb2'  [import]
- lib/tests/streamlit/script_request_queue_test.py: note: In function "test_dequeue":
- lib/tests/streamlit/script_request_queue_test.py:57:13: error: Statement is unreachable  [unreachable]
- lib/tests/streamlit/report_context_test.py:4:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/streamlit/magic_test.py: note: In member "_testCode" of class "MagicTest":
- lib/tests/streamlit/magic_test.py:36:67: error: "AST" has no attribute "func"  [attr-defined]
- lib/tests/streamlit/logger_test.py:20:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/logger_test.py:22:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/file_util_test.py:18:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/file_util_test.py: note: In class "FileIsInFolderTest":
- lib/tests/streamlit/file_util_test.py:156:5: error: Name 'test_rel_file_not_in_folder_glob' already defined on line 152  [no-redef]
- lib/tests/streamlit/exception_proto_test.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Exception_pb2'  [import]
- lib/tests/streamlit/data_frame_proto_test.py:23:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/data_frame_proto_test.py:27:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DataFrame_pb2'  [import]
- lib/tests/streamlit/data_frame_proto_test.py:35:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Delta_pb2'  [import]
- lib/tests/streamlit/data_frame_proto_test.py:36:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.VegaLiteChart_pb2'  [import]
- lib/tests/streamlit/data_frame_proto_test.py:37:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.NamedDataSet_pb2'  [import]
- lib/tests/streamlit/config_test.py:22:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/config_test.py:23:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/config_test.py: note: In member "test_load_global_config" of class "ConfigLoadingTest":
- lib/tests/streamlit/config_test.py:596:9: error: "_patch[MagicMock]" has no attribute "return_value"  [attr-defined]
- lib/tests/streamlit/config_test.py:598:9: error: "_patch[MagicMock]" has no attribute "side_effect"  [attr-defined]
- lib/tests/streamlit/config_test.py: note: In member "test_load_local_config" of class "ConfigLoadingTest":
- lib/tests/streamlit/config_test.py:623:9: error: "_patch[MagicMock]" has no attribute "return_value"  [attr-defined]
- lib/tests/streamlit/config_test.py:625:9: error: "_patch[MagicMock]" has no attribute "side_effect"  [attr-defined]
- lib/tests/streamlit/config_test.py: note: In member "test_load_global_local_config" of class "ConfigLoadingTest":
- lib/tests/streamlit/config_test.py:662:9: error: "_patch[MagicMock]" has no attribute "return_value"  [attr-defined]
- lib/tests/streamlit/config_test.py:664:9: error: "_patch[MagicMock]" has no attribute "side_effect"  [attr-defined]
- lib/tests/streamlit/config_option_test.py:17:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/config_option_test.py:18:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/config_option_test.py:20:1: error: Module 'streamlit.config_option' does not explicitly export attribute 'DeprecationError'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/scriptrunner/test_data/runtime_error.py:24:1: error: "None" has no attribute "do_a_thing"  [attr-defined]
- lib/tests/streamlit/report_queue_test.py:21:1: error: Module 'streamlit' does not explicitly export attribute 'RootContainer'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/report_queue_test.py:25:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/streamlit/metrics_util_test.py: note: In member "test_machine_id_from_etc" of class "MetricsUtilTest":
- lib/tests/streamlit/metrics_util_test.py:46:27: error: Incompatible types in assignment (expression has type "Callable[[Any], Any]", variable has type "MagicMock")  [assignment]
- lib/tests/streamlit/metrics_util_test.py: note: In member "test_machine_id_from_dbus" of class "MetricsUtilTest":
- lib/tests/streamlit/metrics_util_test.py:63:27: error: Incompatible types in assignment (expression has type "Callable[[Any], Any]", variable has type "MagicMock")  [assignment]
- lib/tests/streamlit/metrics_test.py:19:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/credentials_test.py:21:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/credentials_test.py:22:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/credentials_test.py: note: In member "test_Credentials_activate" of class "CredentialsClassTest":
- lib/tests/streamlit/credentials_test.py:235:30: error: "None" has no attribute "email"  [attr-defined]
- lib/tests/streamlit/credentials_test.py:236:30: error: "None" has no attribute "is_valid"  [attr-defined]
- lib/tests/streamlit/time_input_test.py:19:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/text_input_test.py:19:1: error: Module 'streamlit' does not explicitly export attribute 'StreamlitAPIException'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/text_input_test.py:20:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.TextInput_pb2'  [import]
- lib/tests/streamlit/streamlit_test.py:22:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/streamlit_test.py:28:1: error: Cannot find implementation or library stub for module named 'PIL.Image'  [import]
- lib/tests/streamlit/streamlit_test.py:31:1: error: Cannot find implementation or library stub for module named 'scipy.io'  [import]
- lib/tests/streamlit/streamlit_test.py:36:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Balloons_pb2'  [import]
- lib/tests/streamlit/streamlit_test.py:38:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Alert_pb2'  [import]
- lib/tests/streamlit/stop_test.py:15:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/slider_test.py:17:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/slider_test.py:18:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/slider_test.py: note: In member "test_max_min" of class "SliderTest":
- lib/tests/streamlit/slider_test.py:142:9: error: "assertEqual" of "TestCase" does not return a value  [func-returns-value]
- lib/tests/streamlit/slider_test.py: note: In member "test_value_out_of_bounds" of class "SliderTest":
- lib/tests/streamlit/slider_test.py:166:25: error: Incompatible types in assignment (expression has type "float", variable has type "int")  [assignment]
- lib/tests/streamlit/slider_test.py:174:25: error: Incompatible types in assignment (expression has type "float", variable has type "int")  [assignment]
- lib/tests/streamlit/selectbox_test.py:16:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/selectbox_test.py:19:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/select_slider_test.py:17:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/select_slider_test.py:18:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/radio_test.py:19:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/number_input_test.py:17:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/number_input_test.py:22:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.NumberInput_pb2'  [import]
- lib/tests/streamlit/number_input_test.py: note: In member "test_value_out_of_bounds" of class "NumberInputTest":
- lib/tests/streamlit/number_input_test.py:158:21: error: Incompatible types in assignment (expression has type "float", variable has type "int")  [assignment]
- lib/tests/streamlit/number_input_test.py:166:21: error: Incompatible types in assignment (expression has type "float", variable has type "int")  [assignment]
- lib/tests/streamlit/multiselect_test.py:19:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/image_proto_test.py:17:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/image_proto_test.py:19:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/image_proto_test.py:23:1: error: Cannot find implementation or library stub for module named 'cv2'  [import]
- lib/tests/streamlit/hashing_test.py:17:1: error: Cannot find implementation or library stub for module named 'cffi'  [import]
- lib/tests/streamlit/hashing_test.py:26:1: error: Cannot find implementation or library stub for module named 'torch'  [import]
- lib/tests/streamlit/hashing_test.py:27:1: error: Cannot find implementation or library stub for module named 'torchvision'  [import]
- lib/tests/streamlit/hashing_test.py:34:1: error: Cannot find implementation or library stub for module named 'altair.vegalite'  [import]
- lib/tests/streamlit/hashing_test.py:34:1: error: Cannot find implementation or library stub for module named 'altair.vegalite.v3'  [import]
- lib/tests/streamlit/hashing_test.py:37:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/hashing_test.py:38:1: error: Cannot find implementation or library stub for module named 'sqlalchemy'  [import]
- lib/tests/streamlit/hashing_test.py:40:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/hashing_test.py:43:1: error: Cannot find implementation or library stub for module named 'keras'  [import]
- lib/tests/streamlit/hashing_test.py: note: In function "get_hash":
- lib/tests/streamlit/hashing_test.py:70:5: error: Cannot assign to a method  [assignment]
- lib/tests/streamlit/hashing_test.py: note: In member "test_list" of class "HashTest":
- lib/tests/streamlit/hashing_test.py:100:18: error: Argument 1 to "append" of "list" has incompatible type "List[int]"; expected "int"  [arg-type]
- lib/tests/streamlit/hashing_test.py:102:18: error: Argument 1 to "append" of "list" has incompatible type "List[int]"; expected "int"  [arg-type]
- lib/tests/streamlit/hashing_test.py: note: In function "test_hashing_broken_code":
- lib/tests/streamlit/hashing_test.py:207:20: error: Module has no attribute "strptime"  [attr-defined]
- lib/tests/streamlit/hashing_test.py:210:17: error: Module has no attribute "strptime"  [attr-defined]
- lib/tests/streamlit/hashing_test.py: note: In function "test_internal_hashing_error":
- lib/tests/streamlit/hashing_test.py:251:30: error: Unsupported operand types for + ("str" and "int")  [operator]
- lib/tests/streamlit/hashing_test.py: note: At top level:
- lib/tests/streamlit/hashing_test.py:515:1: error: Cannot find implementation or library stub for module named 'cffi_bin._foo'  [import]
- lib/tests/streamlit/hashing_test.py:516:1: error: Cannot find implementation or library stub for module named 'cffi_bin._bar'  [import]
- lib/tests/streamlit/hashing_test.py: note: In function "test_dict_reference":
- lib/tests/streamlit/hashing_test.py:834:20: error: Value of type "object" is not indexable  [index]
- lib/tests/streamlit/hashing_test.py:840:20: error: Value of type "object" is not indexable  [index]
- lib/tests/streamlit/hashing_test.py: note: At top level:
- lib/tests/streamlit/hashing_test.py:873:1: error: Cannot find implementation or library stub for module named 'foobar'  [import]
- lib/tests/streamlit/graphviz_test.py:17:1: error: Cannot find implementation or library stub for module named 'graphviz'  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named 'tests.streamlit'  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.echo_test_data'  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.echo_test_data.root_level_echo'  [import]
- lib/tests/streamlit/delta_generator_test.py:22:1: error: Cannot find implementation or library stub for module named 'funcsigs'  [import]
- lib/tests/streamlit/delta_generator_test.py:22:5: error: Name 'signature' already defined (possibly by an import)  [no-redef]
- lib/tests/streamlit/delta_generator_test.py:24:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/delta_generator_test.py:33:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Delta_pb2'  [import]
- lib/tests/streamlit/delta_generator_test.py:34:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Element_pb2'  [import]
- lib/tests/streamlit/delta_generator_test.py:35:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.TextArea_pb2'  [import]
- lib/tests/streamlit/delta_generator_test.py:36:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.TextInput_pb2'  [import]
- lib/tests/streamlit/delta_generator_test.py:37:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Empty_pb2'  [import]
- lib/tests/streamlit/delta_generator_test.py:38:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.RootContainer_pb2'  [import]
- lib/tests/streamlit/delta_generator_test.py:39:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Text_pb2'  [import]
- lib/tests/streamlit/delta_generator_test.py: note: In member "set_widget_requires_args" of class "DeltaGeneratorTest":
- lib/tests/streamlit/delta_generator_test.py:180:9: error: Too few arguments  [call-arg]
- lib/tests/streamlit/delta_generator_test.py: note: In member "test_constructor" of class "DeltaGeneratorClassTest":
- lib/tests/streamlit/delta_generator_test.py:231:26: error: Item "None" of "Optional[Cursor]" has no attribute "is_locked"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py:232:26: error: Item "None" of "Optional[Cursor]" has no attribute "index"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py: note: In member "test_constructor_with_id" of class "DeltaGeneratorClassTest":
- lib/tests/streamlit/delta_generator_test.py:238:25: error: Item "None" of "Optional[Cursor]" has no attribute "is_locked"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py:239:26: error: Item "None" of "Optional[Cursor]" has no attribute "index"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py: note: In member "test_enqueue" of class "DeltaGeneratorClassTest":
- lib/tests/streamlit/delta_generator_test.py:250:29: error: Item "None" of "Optional[Cursor]" has no attribute "index"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py:259:29: error: Item "None" of "Optional[Cursor]" has no attribute "index"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py: note: In member "test_enqueue_same_id" of class "DeltaGeneratorClassTest":
- lib/tests/streamlit/delta_generator_test.py:268:31: error: Item "None" of "Optional[Cursor]" has no attribute "index"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py: note: In member "test_container" of class "DeltaGeneratorContainerTest":
- lib/tests/streamlit/delta_generator_test.py:292:26: error: Item "None" of "Optional[Cursor]" has no attribute "is_locked"  [union-attr]
- lib/tests/streamlit/delta_generator_test.py: note: In member "test_equal_columns" of class "DeltaGeneratorColumnsTest":
- lib/tests/streamlit/delta_generator_test.py:311:30: error: Item "None" of "Optional[Cursor]" has no attribute "is_locked"  [union-attr]
- lib/tests/streamlit/date_input_test.py:19:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/dataframe_styling_test.py:21:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/dataframe_styling_test.py:26:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.DataFrame_pb2'  [import]
- lib/tests/streamlit/color_picker_test.py:16:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/color_picker_test.py:20:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/checkbox_test.py:17:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/caching_test.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Exception_pb2'  [import]
- lib/tests/streamlit/caching_test.py: note: In member "off_test_simple" of class "CachingObjectTest":
- lib/tests/streamlit/caching_test.py:408:17: error: Module has no attribute "Cache"; maybe "cache"?  [attr-defined]
- lib/tests/streamlit/caching_test.py: note: In member "off_test_allow_output_mutation" of class "CachingObjectTest":
- lib/tests/streamlit/caching_test.py:418:17: error: Module has no attribute "Cache"; maybe "cache"?  [attr-defined]
- lib/tests/streamlit/caching_test.py: note: In member "off_test_has_changes" of class "CachingObjectTest":
- lib/tests/streamlit/caching_test.py:428:17: error: Module has no attribute "Cache"; maybe "cache"?  [attr-defined]
- lib/tests/streamlit/caching_test.py: note: In member "off_test_mutate" of class "CachingObjectTest":
- lib/tests/streamlit/caching_test.py:437:17: error: Module has no attribute "Cache"; maybe "cache"?  [attr-defined]
- lib/tests/streamlit/bokeh_test.py:17:1: error: Cannot find implementation or library stub for module named 'bokeh.plotting'  [import]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_simple_add_rows" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:111:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_with_index_add_rows" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:136:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_with_index_no_data_add_rows" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:157:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_no_index_no_data_add_rows" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:178:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_simple_add_rows_with_clear_queue" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:204:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_named_add_rows" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:227:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_named_add_rows_with_clear_queue" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:251:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_add_rows_works_when_new_name" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:271:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/add_rows_test.py: note: In member "test_add_rows_fails_when_wrong_shape" of class "DeltaGeneratorAddRowsTest":
- lib/tests/streamlit/add_rows_test.py:287:13: error: Item "None" of "Optional[ReportContext]" has no attribute "reset"  [union-attr]
- lib/tests/streamlit/version_test.py:20:1: error: Cannot find implementation or library stub for module named 'requests_mock'  [import]
- lib/tests/streamlit/net_util_test.py:18:1: error: Cannot find implementation or library stub for module named 'requests_mock'  [import]
- lib/streamlit/report.py:26:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.StaticManifest_pb2'  [import]
- lib/tests/streamlit/report_test.py:21:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/report_test.py:23:1: error: Module 'streamlit' does not explicitly export attribute 'RootContainer'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/report_test.py:26:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/streamlit/report_test.py:27:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.StaticManifest_pb2'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:26:1: error: Cannot find implementation or library stub for module named 'tests.streamlit'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:26:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:26:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:26:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data.dummy_module1'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data.dummy_module2'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data.misbehaved_module'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data.nested_module_parent'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named 'tests.streamlit.watcher.test_data.nested_module_child'  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: In member "test_config_watcherType" of class "LocalSourcesWatcherTest":
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:245:13: error: Statement is unreachable  [unreachable]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: In function "sort_args_list":
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:252:47: error: Returning Any from function declared to return "SupportsLessThan"  [no-any-return]
- lib/tests/streamlit/storage/s3_storage_test.py: note: In member "test_private_url" of class "S3StorageTest":
- lib/tests/streamlit/storage/s3_storage_test.py:41:15: error: Item "None" of "Optional[str]" has no attribute "index"  [union-attr]
- lib/tests/streamlit/storage/s3_storage_test.py:42:26: error: Value of type "Optional[str]" is not indexable  [index]
- lib/streamlit/forward_msg_cache.py:21:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/streamlit/forward_msg_cache_test.py:20:1: error: Module 'streamlit' does not explicitly export attribute 'RootContainer'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/forward_msg_cache_test.py:26:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/streamlit/report_session_test.py:17:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/report_session_test.py:29:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
+ lib/streamlit/script_request_queue.py:20:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ClientState_pb2'  [import]
- lib/tests/streamlit/report_session_test.py:30:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.StaticManifest_pb2'  [import]
+ lib/streamlit/script_runner.py:30:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ClientState_pb2'  [import]
+ lib/streamlit/widgets.py:17:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.WidgetStates_pb2'  [import]
- lib/tests/streamlit/media_file_manager_test.py: note: In member "test_add_files" of class "MediaFileManagerTest":
- lib/tests/streamlit/media_file_manager_test.py:115:9: error: Need type annotation for 'sample_coords' (hint: "sample_coords: Set[<type>] = ...")  [var-annotated]
+ lib/tests/streamlit/watcher/test_data/nested_module_child.py: error: Source file found twice under different module names: 'watcher.test_data.nested_module_child' and 'tests.streamlit.watcher.test_data.nested_module_child'  [misc]
- lib/tests/streamlit/scriptrunner/script_runner_test.py: note: In member "off_test_multiple_scriptrunners" of class "ScriptRunnerTest":
- lib/tests/streamlit/scriptrunner/script_runner_test.py:303:13: error: Unexpected keyword argument "widget_state" for "enqueue_rerun"; did you mean "widget_states"?  [call-arg]
- lib/tests/streamlit/scriptrunner/script_runner_test.py: note: In function "__init__":
- lib/tests/streamlit/scriptrunner/script_runner_test.py:440:9: error: Need type annotation for 'events' (hint: "events: List[<type>] = ...")  [var-annotated]
- lib/streamlit/components/v1/components.py:30:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ArrowTable_pb2'  [import]
- lib/streamlit/components/v1/components.py:31:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ComponentInstance_pb2'  [import]
- lib/streamlit/components/v1/components.py:32:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.Element_pb2'  [import]
- lib/tests/streamlit/upload_file_request_handler_test.py:23:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/streamlit/server/server.py:44:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.BackMsg_pb2'  [import]
- lib/streamlit/server/server.py:45:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/server_test_case.py:24:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/streamlit/server_test.py:21:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/server_test.py:29:1: error: Module 'streamlit' does not explicitly export attribute 'RootContainer'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/server_test.py:37:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ForwardMsg_pb2'  [import]
- lib/tests/streamlit/server_test.py: note: In member "test_rotates_one_port" of class "PortRotateOneTest":
- lib/tests/streamlit/server_test.py:549:42: error: Module has no attribute "ConfigOption"  [attr-defined]
- lib/tests/streamlit/components_test.py:22:1: error: Cannot find implementation or library stub for module named 'pytest'  [import]
- lib/tests/streamlit/components_test.py:26:1: error: Module 'streamlit' does not explicitly export attribute 'StreamlitAPIException'; implicit reexport disabled  [attr-defined]
- lib/tests/streamlit/components_test.py:34:1: error: Cannot find implementation or library stub for module named 'streamlit.proto.ComponentInstance_pb2'  [import]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_hello_message" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:86:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_configured" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:105:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_remote" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:128:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_remote_no_external" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:153:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_remote_no_internal" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:178:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_local" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:198:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_port" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:222:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_base" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:247:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/bootstrap_test.py: note: In member "test_print_urls_base_no_internal" of class "BootstrapPrintTest":
- lib/tests/streamlit/bootstrap_test.py:272:15: error: "TextIO" has no attribute "getvalue"  [attr-defined]
- lib/tests/streamlit/cli_test.py:25:1: error: Cannot find implementation or library stub for module named 'requests_mock'  [import]
- lib/tests/streamlit/cli_test.py:27:1: error: Cannot find implementation or library stub for module named 'parameterized'  [import]
- lib/tests/streamlit/cli_test.py:28:1: error: Cannot find implementation or library stub for module named 'testfixtures'  [import]
- lib/tests/streamlit/cli_test.py: note: In member "setUp" of class "CliTest":
- lib/tests/streamlit/cli_test.py:43:9: error: Module has no attribute "name"  [attr-defined]
- lib/tests/streamlit/cli_test.py: note: In member "test_run_no_arguments" of class "CliTest":
- lib/tests/streamlit/cli_test.py:50:37: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_run_existing_file_argument" of class "CliTest":
- lib/tests/streamlit/cli_test.py:59:41: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_run_non_existing_file_argument" of class "CliTest":
- lib/tests/streamlit/cli_test.py:69:41: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_run_not_allowed_file_extension" of class "CliTest":
- lib/tests/streamlit/cli_test.py:76:37: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_run_valid_url" of class "CliTest":
- lib/tests/streamlit/cli_test.py:95:45: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_run_non_existing_url" of class "CliTest":
- lib/tests/streamlit/cli_test.py:114:45: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_run_arguments" of class "CliTest":
- lib/tests/streamlit/cli_test.py:126:21: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_credentials_headless_no_config" of class "CliTest":
- lib/tests/streamlit/cli_test.py:296:41: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_credentials_headless_with_config" of class "CliTest":
- lib/tests/streamlit/cli_test.py:320:41: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_help_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:327:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_version_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:333:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_docs_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:339:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_hello_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:347:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_hello_command_with_logs" of class "CliTest":
- lib/tests/streamlit/cli_test.py:357:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_config_show_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:365:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_cache_clear_command_with_cache" of class "CliTest":
- lib/tests/streamlit/cli_test.py:374:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_cache_clear_command_without_cache" of class "CliTest":
- lib/tests/streamlit/cli_test.py:386:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_activate_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:399:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_activate_without_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:409:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]
- lib/tests/streamlit/cli_test.py: note: In member "test_reset_command" of class "CliTest":
- lib/tests/streamlit/cli_test.py:419:32: error: Argument 1 to "invoke" of "CliRunner" has incompatible type Module; expected "BaseCommand"  [arg-type]

+ scipy/fft/tests/mock_backend.py: error: Source file found twice under different module names: 'mock_backend' and 'scipy.fft.tests.mock_backend'  [misc]
- scipy/special/_spherical_bessel.py:1: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/special/_lambertw.py:1: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/optimize/tnc/example.py:4: error: Cannot find implementation or library stub for module named 'tnc'  [import]
- scipy/optimize/_trustregion_constr/report.py:36: error: Incompatible types in assignment (expression has type "List[str]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:38: error: Incompatible types in assignment (expression has type "List[int]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:39: error: Incompatible types in assignment (expression has type "List[str]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:44: error: Incompatible types in assignment (expression has type "List[str]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:46: error: Incompatible types in assignment (expression has type "List[int]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:47: error: Incompatible types in assignment (expression has type "List[str]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:52: error: Incompatible types in assignment (expression has type "List[str]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:54: error: Incompatible types in assignment (expression has type "List[int]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/optimize/_trustregion_constr/report.py:55: error: Incompatible types in assignment (expression has type "List[str]", base class "ReportBase" defined the type as "_NotImplementedType")  [assignment]
- scipy/_lib/_bunch.py:205: error: All conditional function variants must have identical signatures  [misc]
- scipy/special/_ellip_harm.py:3: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/special/utils/makenpz.py:12: error: Module 'distutils.util' has no attribute 'newer'  [attr-defined]
- scipy/special/tests/test_trig.py:4: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/special/_precompute/struve_convergence.py:47: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/spatial/kdtree.py:5: error: Module 'scipy.spatial.ckdtree' has no attribute 'cKDTreeNode'; maybe "cKDTree"?  [attr-defined]
- scipy/sparse/linalg/isolve/iterative/test.py:1: error: Cannot find implementation or library stub for module named 'iterative'  [import]
- scipy/sparse/linalg/isolve/iterative/test.py:77: error: Name 'dbicg' is not defined  [name-defined]
- scipy/sparse/linalg/isolve/iterative/test.py:79: error: Name 'zbicg' is not defined  [name-defined]
- scipy/ndimage/tests/__init__.py:11: error: Unsupported operand types for + ("List[Type[integer]]" and "List[Type[floating]]")  [operator]
- scipy/fft/tests/test_backend.py:5: error: Cannot find implementation or library stub for module named 'scipy.fft.tests'  [import]
- scipy/fft/tests/test_backend.py:5: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- scipy/special/spfun_stats.py:36: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
- scipy/special/__init__.py:634: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/stats/_tukeylambda_stats.py:3: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
- scipy/special/tests/test_spfun_stats.py:6: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_sf_error.py:8: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/special/tests/test_sf_error.py:45: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:52: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:56: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:57: error: Module has no attribute "seterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:59: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:66: error: Module has no attribute "seterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:70: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:71: error: Module has no attribute "errstate"  [attr-defined]
- scipy/special/tests/test_sf_error.py:73: error: Module has no attribute "loggamma"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_sf_error.py:74: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:78: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:79: error: Module has no attribute "errstate"  [attr-defined]
- scipy/special/tests/test_sf_error.py:81: error: Module has no attribute "spence"  [attr-defined]
- scipy/special/tests/test_sf_error.py:82: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:86: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:87: error: Module has no attribute "errstate"  [attr-defined]
- scipy/special/tests/test_sf_error.py:89: error: Module has no attribute "wrightomega"  [attr-defined]
- scipy/special/tests/test_sf_error.py:90: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:96: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:97: error: Module has no attribute "errstate"  [attr-defined]
- scipy/special/tests/test_sf_error.py:99: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:103: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_sf_error.py:104: error: Module has no attribute "errstate"  [attr-defined]
- scipy/special/tests/test_sf_error.py:105: error: Module has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_sf_error.py:107: error: Module has no attribute "spence"  [attr-defined]
- scipy/special/tests/test_sf_error.py:108: error: Module has no attribute "geterr"  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'expit'  [attr-defined]
- scipy/special/tests/test_logit.py:4: error: Module 'scipy.special' has no attribute 'logit'  [attr-defined]
- scipy/special/tests/test_exponential_integrals.py:39: error: Module has no attribute "expi"  [attr-defined]
- scipy/special/tests/test_exponential_integrals.py:40: error: Module has no attribute "expi"  [attr-defined]
- scipy/special/tests/test_exponential_integrals.py:41: error: Module has no attribute "expi"  [attr-defined]
- scipy/special/tests/test_erfinv.py:34: error: Module has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:35: error: Module has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:36: error: Module has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:37: error: Module has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:38: error: Module has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:39: error: Module has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:40: error: Module has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:41: error: Module has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:42: error: Module has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_erfinv.py:43: error: Module has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:41: error: Module has no attribute "agm"  [attr-defined]
- scipy/special/tests/test_cython_special.py:42: error: Module has no attribute "airy"  [attr-defined]
- scipy/special/tests/test_cython_special.py:43: error: Module has no attribute "airye"  [attr-defined]
- scipy/special/tests/test_cython_special.py:44: error: Module has no attribute "bdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:45: error: Module has no attribute "bdtrc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:46: error: Module has no attribute "bdtri"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:47: error: Module has no attribute "bdtrik"  [attr-defined]
- scipy/special/tests/test_cython_special.py:48: error: Module has no attribute "bdtrin"  [attr-defined]
- scipy/special/tests/test_cython_special.py:49: error: Module has no attribute "bei"  [attr-defined]
- scipy/special/tests/test_cython_special.py:50: error: Module has no attribute "beip"  [attr-defined]
- scipy/special/tests/test_cython_special.py:51: error: Module has no attribute "ber"  [attr-defined]
- scipy/special/tests/test_cython_special.py:52: error: Module has no attribute "berp"  [attr-defined]
- scipy/special/tests/test_cython_special.py:53: error: Module has no attribute "besselpoly"  [attr-defined]
- scipy/special/tests/test_cython_special.py:54: error: Module has no attribute "beta"  [attr-defined]
- scipy/special/tests/test_cython_special.py:55: error: Module has no attribute "betainc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:56: error: Module has no attribute "betaincinv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:57: error: Module has no attribute "betaln"  [attr-defined]
- scipy/special/tests/test_cython_special.py:58: error: Module has no attribute "binom"  [attr-defined]
- scipy/special/tests/test_cython_special.py:59: error: Module has no attribute "boxcox"  [attr-defined]
- scipy/special/tests/test_cython_special.py:60: error: Module has no attribute "boxcox1p"  [attr-defined]
- scipy/special/tests/test_cython_special.py:61: error: Module has no attribute "btdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:62: error: Module has no attribute "btdtri"  [attr-defined]
- scipy/special/tests/test_cython_special.py:63: error: Module has no attribute "btdtria"  [attr-defined]
- scipy/special/tests/test_cython_special.py:64: error: Module has no attribute "btdtrib"  [attr-defined]
- scipy/special/tests/test_cython_special.py:65: error: Module has no attribute "cbrt"  [attr-defined]
- scipy/special/tests/test_cython_special.py:66: error: Module has no attribute "chdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:67: error: Module has no attribute "chdtrc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:68: error: Module has no attribute "chdtri"  [attr-defined]
- scipy/special/tests/test_cython_special.py:69: error: Module has no attribute "chdtriv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:70: error: Module has no attribute "chndtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:71: error: Module has no attribute "chndtridf"  [attr-defined]
- scipy/special/tests/test_cython_special.py:72: error: Module has no attribute "chndtrinc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:73: error: Module has no attribute "chndtrix"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:74: error: Module has no attribute "cosdg"  [attr-defined]
- scipy/special/tests/test_cython_special.py:75: error: Module has no attribute "cosm1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:76: error: Module has no attribute "cotdg"  [attr-defined]
- scipy/special/tests/test_cython_special.py:77: error: Module has no attribute "dawsn"  [attr-defined]
- scipy/special/tests/test_cython_special.py:78: error: Module has no attribute "ellipe"  [attr-defined]
- scipy/special/tests/test_cython_special.py:79: error: Module has no attribute "ellipeinc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:80: error: Module has no attribute "ellipj"  [attr-defined]
- scipy/special/tests/test_cython_special.py:81: error: Module has no attribute "ellipkinc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:82: error: Module has no attribute "ellipkm1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:83: error: Module has no attribute "ellipk"  [attr-defined]
- scipy/special/tests/test_cython_special.py:84: error: Module has no attribute "entr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:85: error: Module has no attribute "erf"  [attr-defined]
- scipy/special/tests/test_cython_special.py:86: error: Module has no attribute "erfc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:87: error: Module has no attribute "erfcx"  [attr-defined]
- scipy/special/tests/test_cython_special.py:88: error: Module has no attribute "erfi"  [attr-defined]
- scipy/special/tests/test_cython_special.py:89: error: Module has no attribute "erfinv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:90: error: Module has no attribute "erfcinv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:91: error: Module has no attribute "eval_chebyc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:92: error: Module has no attribute "eval_chebys"  [attr-defined]
- scipy/special/tests/test_cython_special.py:94: error: Module has no attribute "eval_chebyt"  [attr-defined]
- scipy/special/tests/test_cython_special.py:96: error: Module has no attribute "eval_chebyu"  [attr-defined]
- scipy/special/tests/test_cython_special.py:98: error: Module has no attribute "eval_gegenbauer"; maybe "gegenbauer"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:100: error: Module has no attribute "eval_genlaguerre"; maybe "genlaguerre"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:102: error: Module has no attribute "eval_hermite"  [attr-defined]
- scipy/special/tests/test_cython_special.py:103: error: Module has no attribute "eval_hermitenorm"; maybe "hermitenorm"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:104: error: Module has no attribute "eval_jacobi"  [attr-defined]
- scipy/special/tests/test_cython_special.py:106: error: Module has no attribute "eval_laguerre"; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:108: error: Module has no attribute "eval_legendre"; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:109: error: Module has no attribute "eval_sh_chebyt"; maybe "sh_chebyt"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:110: error: Module has no attribute "eval_sh_chebyu"; maybe "sh_chebyu"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:112: error: Module has no attribute "eval_sh_jacobi"; maybe "sh_jacobi"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:114: error: Module has no attribute "eval_sh_legendre"; maybe "sh_legendre"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:115: error: Module has no attribute "exp1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:116: error: Module has no attribute "exp10"  [attr-defined]
- scipy/special/tests/test_cython_special.py:117: error: Module has no attribute "exp2"  [attr-defined]
- scipy/special/tests/test_cython_special.py:118: error: Module has no attribute "expi"  [attr-defined]
- scipy/special/tests/test_cython_special.py:119: error: Module has no attribute "expit"  [attr-defined]
- scipy/special/tests/test_cython_special.py:120: error: Module has no attribute "expm1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:121: error: Module has no attribute "expn"  [attr-defined]
- scipy/special/tests/test_cython_special.py:122: error: Module has no attribute "exprel"  [attr-defined]
- scipy/special/tests/test_cython_special.py:123: error: Module has no attribute "fdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:124: error: Module has no attribute "fdtrc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:125: error: Module has no attribute "fdtri"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:126: error: Module has no attribute "fdtridfd"  [attr-defined]
- scipy/special/tests/test_cython_special.py:127: error: Module has no attribute "fresnel"  [attr-defined]
- scipy/special/tests/test_cython_special.py:129: error: Module has no attribute "gammainc"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:130: error: Module has no attribute "gammaincc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:131: error: Module has no attribute "gammainccinv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:132: error: Module has no attribute "gammaincinv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:133: error: Module has no attribute "gammaln"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:134: error: Module has no attribute "gammasgn"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:135: error: Module has no attribute "gdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:136: error: Module has no attribute "gdtrc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:137: error: Module has no attribute "gdtria"  [attr-defined]
- scipy/special/tests/test_cython_special.py:138: error: Module has no attribute "gdtrib"  [attr-defined]
- scipy/special/tests/test_cython_special.py:139: error: Module has no attribute "gdtrix"  [attr-defined]
- scipy/special/tests/test_cython_special.py:141: error: Module has no attribute "hankel1e"; maybe "hankel1" or "hankel2"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:143: error: Module has no attribute "hankel2e"; maybe "hankel2" or "hankel1"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:144: error: Module has no attribute "huber"  [attr-defined]
- scipy/special/tests/test_cython_special.py:146: error: Module has no attribute "hyp1f1"; maybe "hyp0f1"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:147: error: Module has no attribute "hyp2f1"; maybe "hyp0f1"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:148: error: Module has no attribute "hyperu"  [attr-defined]
- scipy/special/tests/test_cython_special.py:149: error: Module has no attribute "i0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:150: error: Module has no attribute "i0e"  [attr-defined]
- scipy/special/tests/test_cython_special.py:151: error: Module has no attribute "i1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:152: error: Module has no attribute "i1e"  [attr-defined]
- scipy/special/tests/test_cython_special.py:153: error: Module has no attribute "inv_boxcox"  [attr-defined]
- scipy/special/tests/test_cython_special.py:154: error: Module has no attribute "inv_boxcox1p"  [attr-defined]
- scipy/special/tests/test_cython_special.py:155: error: Module has no attribute "it2i0k0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:156: error: Module has no attribute "it2j0y0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:157: error: Module has no attribute "it2struve0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:158: error: Module has no attribute "itairy"  [attr-defined]
- scipy/special/tests/test_cython_special.py:159: error: Module has no attribute "iti0k0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:160: error: Module has no attribute "itj0y0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:161: error: Module has no attribute "itmodstruve0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:162: error: Module has no attribute "itstruve0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:164: error: Module has no attribute "ive"; maybe "iv"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:165: error: Module has no attribute "j0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:166: error: Module has no attribute "j1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:168: error: Module has no attribute "jve"; maybe "jv"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:169: error: Module has no attribute "k0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:170: error: Module has no attribute "k0e"  [attr-defined]
- scipy/special/tests/test_cython_special.py:171: error: Module has no attribute "k1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:172: error: Module has no attribute "k1e"  [attr-defined]
- scipy/special/tests/test_cython_special.py:173: error: Module has no attribute "kei"  [attr-defined]
- scipy/special/tests/test_cython_special.py:174: error: Module has no attribute "keip"  [attr-defined]
- scipy/special/tests/test_cython_special.py:175: error: Module has no attribute "kelvin"  [attr-defined]
- scipy/special/tests/test_cython_special.py:176: error: Module has no attribute "ker"  [attr-defined]
- scipy/special/tests/test_cython_special.py:177: error: Module has no attribute "kerp"  [attr-defined]
- scipy/special/tests/test_cython_special.py:178: error: Module has no attribute "kl_div"  [attr-defined]
- scipy/special/tests/test_cython_special.py:179: error: Module has no attribute "kn"  [attr-defined]
- scipy/special/tests/test_cython_special.py:180: error: Module has no attribute "kolmogi"  [attr-defined]
- scipy/special/tests/test_cython_special.py:181: error: Module has no attribute "kolmogorov"  [attr-defined]
- scipy/special/tests/test_cython_special.py:183: error: Module has no attribute "kve"; maybe "kv"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:184: error: Module has no attribute "log1p"  [attr-defined]
- scipy/special/tests/test_cython_special.py:185: error: Module has no attribute "log_ndtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:186: error: Module has no attribute "loggamma"; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:187: error: Module has no attribute "logit"  [attr-defined]
- scipy/special/tests/test_cython_special.py:188: error: Module has no attribute "lpmv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:191: error: Module has no attribute "mathieu_cem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:192: error: Module has no attribute "mathieu_modcem1"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:193: error: Module has no attribute "mathieu_modcem2"; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:194: error: Module has no attribute "mathieu_modsem1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:195: error: Module has no attribute "mathieu_modsem2"  [attr-defined]
- scipy/special/tests/test_cython_special.py:196: error: Module has no attribute "mathieu_sem"; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:197: error: Module has no attribute "modfresnelm"  [attr-defined]
- scipy/special/tests/test_cython_special.py:198: error: Module has no attribute "modfresnelp"  [attr-defined]
- scipy/special/tests/test_cython_special.py:199: error: Module has no attribute "modstruve"  [attr-defined]
- scipy/special/tests/test_cython_special.py:200: error: Module has no attribute "nbdtr"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:201: error: Module has no attribute "nbdtrc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:202: error: Module has no attribute "nbdtri"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:203: error: Module has no attribute "nbdtrik"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:204: error: Module has no attribute "nbdtrin"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:205: error: Module has no attribute "ncfdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:206: error: Module has no attribute "ncfdtri"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:207: error: Module has no attribute "ncfdtridfd"  [attr-defined]
- scipy/special/tests/test_cython_special.py:208: error: Module has no attribute "ncfdtridfn"  [attr-defined]
- scipy/special/tests/test_cython_special.py:209: error: Module has no attribute "ncfdtrinc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:210: error: Module has no attribute "nctdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:211: error: Module has no attribute "nctdtridf"  [attr-defined]
- scipy/special/tests/test_cython_special.py:212: error: Module has no attribute "nctdtrinc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:213: error: Module has no attribute "nctdtrit"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:214: error: Module has no attribute "ndtr"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:216: error: Module has no attribute "nrdtrimn"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:217: error: Module has no attribute "nrdtrisd"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:218: error: Module has no attribute "obl_ang1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:219: error: Module has no attribute "obl_ang1_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:220: error: Module has no attribute "obl_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:221: error: Module has no attribute "obl_rad1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:222: error: Module has no attribute "obl_rad1_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:223: error: Module has no attribute "obl_rad2"  [attr-defined]
- scipy/special/tests/test_cython_special.py:224: error: Module has no attribute "obl_rad2_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:225: error: Module has no attribute "pbdv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:226: error: Module has no attribute "pbvv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:227: error: Module has no attribute "pbwa"  [attr-defined]
- scipy/special/tests/test_cython_special.py:228: error: Module has no attribute "pdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:229: error: Module has no attribute "pdtrc"  [attr-defined]
- scipy/special/tests/test_cython_special.py:230: error: Module has no attribute "pdtri"; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:231: error: Module has no attribute "pdtrik"  [attr-defined]
- scipy/special/tests/test_cython_special.py:232: error: Module has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_cython_special.py:233: error: Module has no attribute "pro_ang1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:234: error: Module has no attribute "pro_ang1_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:235: error: Module has no attribute "pro_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:236: error: Module has no attribute "pro_rad1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:237: error: Module has no attribute "pro_rad1_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:238: error: Module has no attribute "pro_rad2"  [attr-defined]
- scipy/special/tests/test_cython_special.py:239: error: Module has no attribute "pro_rad2_cv"  [attr-defined]
- scipy/special/tests/test_cython_special.py:240: error: Module has no attribute "pseudo_huber"  [attr-defined]
- scipy/special/tests/test_cython_special.py:242: error: Module has no attribute "radian"  [attr-defined]
- scipy/special/tests/test_cython_special.py:243: error: Module has no attribute "rel_entr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:244: error: Module has no attribute "rgamma"; maybe "gamma" or "digamma"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:245: error: Module has no attribute "round"  [attr-defined]
- scipy/special/tests/test_cython_special.py:250: error: Module has no attribute "shichi"  [attr-defined]
- scipy/special/tests/test_cython_special.py:251: error: Module has no attribute "sici"  [attr-defined]
- scipy/special/tests/test_cython_special.py:252: error: Module has no attribute "sindg"  [attr-defined]
- scipy/special/tests/test_cython_special.py:253: error: Module has no attribute "smirnov"  [attr-defined]
- scipy/special/tests/test_cython_special.py:254: error: Module has no attribute "smirnovi"  [attr-defined]
- scipy/special/tests/test_cython_special.py:255: error: Module has no attribute "spence"  [attr-defined]
- scipy/special/tests/test_cython_special.py:256: error: Module has no attribute "sph_harm"  [attr-defined]
- scipy/special/tests/test_cython_special.py:257: error: Module has no attribute "stdtr"  [attr-defined]
- scipy/special/tests/test_cython_special.py:258: error: Module has no attribute "stdtridf"  [attr-defined]
- scipy/special/tests/test_cython_special.py:259: error: Module has no attribute "stdtrit"  [attr-defined]
- scipy/special/tests/test_cython_special.py:260: error: Module has no attribute "struve"  [attr-defined]
- scipy/special/tests/test_cython_special.py:261: error: Module has no attribute "tandg"  [attr-defined]
- scipy/special/tests/test_cython_special.py:262: error: Module has no attribute "tklmbda"; maybe "lmbda"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:263: error: Module has no attribute "voigt_profile"  [attr-defined]
- scipy/special/tests/test_cython_special.py:264: error: Module has no attribute "wofz"  [attr-defined]
- scipy/special/tests/test_cython_special.py:265: error: Module has no attribute "wrightomega"  [attr-defined]
- scipy/special/tests/test_cython_special.py:266: error: Module has no attribute "xlog1py"  [attr-defined]
- scipy/special/tests/test_cython_special.py:267: error: Module has no attribute "xlogy"  [attr-defined]
- scipy/special/tests/test_cython_special.py:268: error: Module has no attribute "y0"  [attr-defined]
- scipy/special/tests/test_cython_special.py:269: error: Module has no attribute "y1"  [attr-defined]
- scipy/special/tests/test_cython_special.py:270: error: Module has no attribute "yn"  [attr-defined]
- scipy/special/tests/test_cython_special.py:272: error: Module has no attribute "yve"; maybe "yv"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:273: error: Module has no attribute "zetac"; maybe "zeta"?  [attr-defined]
- scipy/special/tests/test_cython_special.py:274: error: Module has no attribute "owens_t"  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox'  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'boxcox1p'  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox'  [attr-defined]
- scipy/special/tests/test_boxcox.py:3: error: Module 'scipy.special' has no attribute 'inv_boxcox1p'  [attr-defined]
- scipy/integrate/_quadrature.py:11: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
- scipy/integrate/_quadrature.py:62: error: "Callable[[Any], Any]" has no attribute "cache"  [attr-defined]
- scipy/special/tests/test_spence.py:4: error: Module 'scipy.special' has no attribute 'spence'  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_loggamma.py:5: error: Module 'scipy.special' has no attribute 'loggamma'; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogi'  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'kolmogorov'  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnov'  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:9: error: Module 'scipy.special' has no attribute 'smirnovi'  [attr-defined]
- scipy/special/tests/test_kolmogorov.py:10: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/special/tests/test_basic.py:35: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/special/tests/test_basic.py:36: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
- scipy/special/tests/test_mpmath.py:21: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/spatial/transform/_rotation_spline.py:3: error: Cannot find implementation or library stub for module named 'scipy.spatial.transform.rotation'  [import]
- scipy/spatial/transform/__init__.py:19: error: Cannot find implementation or library stub for module named 'scipy.spatial.transform.rotation'  [import]
- scipy/stats/_ksstats.py:70: error: Cannot find implementation or library stub for module named 'scipy.special._ufuncs'  [import]
- scipy/optimize/_nnls.py:1: error: Module 'scipy.optimize' has no attribute '__nnls'; maybe "nnls"?  [attr-defined]
- scipy/integrate/_ivp/rk.py:259: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:260: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:261: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:262: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:263: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:268: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:269: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:270: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:355: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:356: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:357: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:358: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:359: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:367: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:368: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:371: error: Incompatible types in assignment (expression has type "ndarray", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:463: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:464: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:465: error: Incompatible types in assignment (expression has type "int", base class "RungeKutta" defined the type as "_NotImplementedType")  [assignment]
- scipy/integrate/_ivp/rk.py:466: error: Cannot determine type of 'n_stages'  [has-type]
- scipy/integrate/_ivp/rk.py:468: error: Cannot determine type of 'n_stages'  [has-type]
- scipy/integrate/_ivp/rk.py:473: error: Cannot determine type of 'n_stages'  [has-type]
- scipy/integrate/_ivp/rk.py:474: error: Cannot determine type of 'n_stages'  [has-type]
- scipy/special/tests/test_orthogonal.py:89: error: Module has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:91: error: Module has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:93: error: Module has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:94: error: Module has no attribute "poch"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:302: error: Module has no attribute "eval_jacobi"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:368: error: Module has no attribute "eval_sh_jacobi"; maybe "sh_jacobi"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:420: error: Module has no attribute "eval_hermite"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:477: error: Module has no attribute "eval_hermitenorm"; maybe "hermitenorm"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:497: error: Module has no attribute "eval_gegenbauer"; maybe "gegenbauer"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:524: error: Module has no attribute "eval_chebyt"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:525: error: Module has no attribute "eval_chebyt"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:526: error: Module has no attribute "eval_chebyt"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:542: error: Module has no attribute "eval_chebyt"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:543: error: Module has no attribute "eval_chebyt"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:544: error: Module has no attribute "eval_chebyt"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:565: error: Module has no attribute "eval_chebyu"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:566: error: Module has no attribute "eval_chebyu"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:567: error: Module has no attribute "eval_chebyu"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:582: error: Module has no attribute "eval_chebyc"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:583: error: Module has no attribute "eval_chebyc"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:584: error: Module has no attribute "eval_chebyc"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:599: error: Module has no attribute "eval_chebys"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:600: error: Module has no attribute "eval_chebys"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:601: error: Module has no attribute "eval_chebys"  [attr-defined]
- scipy/special/tests/test_orthogonal.py:616: error: Module has no attribute "eval_sh_chebyt"; maybe "sh_chebyt"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:617: error: Module has no attribute "eval_sh_chebyt"; maybe "sh_chebyt"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:618: error: Module has no attribute "eval_sh_chebyt"; maybe "sh_chebyt"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:634: error: Module has no attribute "eval_sh_chebyu"; maybe "sh_chebyu"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:635: error: Module has no attribute "eval_sh_chebyu"; maybe "sh_chebyu"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:636: error: Module has no attribute "eval_sh_chebyu"; maybe "sh_chebyu"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:652: error: Module has no attribute "eval_legendre"; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:653: error: Module has no attribute "eval_legendre"; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:655: error: Module has no attribute "eval_legendre"; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:671: error: Module has no attribute "eval_sh_legendre"; maybe "sh_legendre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:672: error: Module has no attribute "eval_sh_legendre"; maybe "sh_legendre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:674: error: Module has no attribute "eval_sh_legendre"; maybe "sh_legendre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:690: error: Module has no attribute "eval_laguerre"; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:691: error: Module has no attribute "eval_laguerre"; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:693: error: Module has no attribute "eval_laguerre"; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_orthogonal.py:709: error: Module has no attribute "eval_genlaguerre"; maybe "genlaguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'bdtrik'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'beta'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betainc'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'betaincinv'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'binom'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtr'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtri'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtria'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'btdtrib'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'cbrt'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'chndtr'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipe'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipeinc'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipj'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipk'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkinc'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'ellipkm1'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erf'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfc'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfcinv'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'erfinv'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_genlaguerre'; maybe "genlaguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_hermite'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_laguerre'; maybe "laguerre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'eval_legendre'; maybe "legendre"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'exp1'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expi'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expm1'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'expn'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainc'; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincc'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammainccinv'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaincinv'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtr'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrc'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrib'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'gdtrix'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'jn'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'kn'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'log1p'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'lpmv'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_cem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem1'; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modcem2'; maybe "mathieu_odd_coef"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem1'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_modsem2'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'mathieu_sem'; maybe "mathieu_b" or "mathieu_a"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'nbdtrik'; maybe "ndtri"?  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'owens_t'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'pdtrik'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'poch'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'sph_harm'  [attr-defined]
- scipy/special/tests/test_data.py:8: error: Module 'scipy.special' has no attribute 'yn'  [attr-defined]
- scipy/stats/_discrete_distns.py:7: error: Module 'scipy.special' has no attribute 'betaln'  [attr-defined]
- scipy/stats/_discrete_distns.py:7: error: Module 'scipy.special' has no attribute 'entr'  [attr-defined]
- scipy/stats/_discrete_distns.py:7: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
- scipy/stats/_hypotests.py:6: error: Module 'scipy.special' has no attribute 'gammaln'; maybe "gamma"?  [attr-defined]
- scipy/stats/tests/test_contingency.py:6: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]
- scipy/stats/tests/test_stats.py:2681: error: First argument to namedtuple() should be 'PowerDivCase', not 'Case'  [misc]
- scipy/stats/tests/test_distributions.py:29: error: Module 'scipy.special' has no attribute 'xlogy'  [attr-defined]

+ tornado/test/runtests.py: error: Source file found twice under different module names: 'runtests' and 'tornado.test.runtests'
- tornado/test/__main__.py:5: error: Cannot find implementation or library stub for module named 'tornado.test.runtests'
- tornado/test/__main__.py:5: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
- tornado/test/gettext_translations/extract_me.py:11: error: Name '_' is not defined
- tornado/test/gettext_translations/extract_me.py:12: error: Name 'pgettext' is not defined
- tornado/test/gettext_translations/extract_me.py:13: error: Name 'pgettext' is not defined
- tornado/test/gettext_translations/extract_me.py:14: error: Name 'pgettext' is not defined
- tornado/test/gettext_translations/extract_me.py:15: error: Name 'pgettext' is not defined
- tornado/test/options_test.py:10: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/tcpserver_test.py:12: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/tcpclient_test.py:27: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/simple_httpclient_test.py:26: error: Cannot find implementation or library stub for module named 'tornado.test.httpclient_test'
- tornado/test/simple_httpclient_test.py:33: error: Cannot find implementation or library stub for module named 'tornado.test'
- tornado/test/simple_httpclient_test.py:41: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/process_test.py:17: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/netutil_test.py:18: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/iostream_test.py:26: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/iostream_test.py:814: error: "IOLoop" has no attribute "selector_loop"
- tornado/test/ioloop_test.py:20: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/httpserver_test.py:31: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/httpclient_test.py:31: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/gen_test.py:14: error: Cannot find implementation or library stub for module named 'tornado.test.util'
- tornado/test/curl_httpclient_test.py:6: error: Cannot find implementation or library stub for module named 'tornado.test'

+ freqtrade/__init__.py: error: Source file found twice under different module names: 'freqtrade' and 'freqtrade.__init__'

+ isort/_vendored/toml/__init__.py: error: Source file found twice under different module names: 'toml' and 'isort._vendored.toml'
- isort/_vendored/toml/decoder.py:46: error: Cannot assign multiple types to name "FNFError" without an explicit "Type[...]" annotation
- isort/_vendored/toml/decoder.py:46: error: Incompatible types in assignment (expression has type "Type[OSError]", variable has type "Type[FileNotFoundError]")
- isort/_vendored/toml/decoder.py:180: error: Need type annotation for 'implicitgroups' (hint: "implicitgroups: List[<type>] = ...")
- isort/_vendored/toml/decoder.py:437: error: Incompatible types in assignment (expression has type "List[str]", variable has type "str")
- isort/_vendored/toml/decoder.py:547: error: Incompatible types in assignment (expression has type "None", variable has type "str")
- isort/_vendored/toml/decoder.py:654: error: Name 'self._dict' is not defined
- isort/_vendored/toml/decoder.py:869: error: Value of type "int" is not indexable
- isort/_vendored/toml/decoder.py:888: error: Item "None" of "Optional[Match[str]]" has no attribute "groups"
- isort/output.py:596: error: "_LineWithComments" has no attribute "comments"

github-actions[bot] avatar Nov 12 '20 08:11 github-actions[bot]

Sorry, I lost of track of this PR. Is there anything I can do to help move this forward?

JukkaL avatar Feb 11 '21 11:02 JukkaL

Diff from mypy_primer, showing the effect of this PR on open source code:

freqtrade (https://github.com/freqtrade/freqtrade.git)
- scripts/rest_client.py:20: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
- scripts/rest_client.py:21: error: Library stubs not installed for "requests.exceptions" (or incompatible with Python 3.8)
- freqtrade/rpc/webhook.py:7: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"

mypy (https://github.com/python/mypy.git)
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:45: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:51: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:51: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:51: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:56: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: "Iterator" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: "AsyncIterator" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:95: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: "Generator" expects no type arguments, but 3 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: "Awaitable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.S" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: "Awaitable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:113: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: "AsyncIterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:123: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: "Container" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:127: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: "Mapping" expects no type arguments, but 2 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:138: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:141: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:141: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:141: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:144: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:144: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:144: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:150: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:158: error: "Mapping" expects no type arguments, but 2 given  [type-arg]
+ mypyc/test-data/fixtures/testutil.py:32: error: unused "type: ignore" comment
+ mypyc/test-data/driver/driver.py:11: error: Cannot find implementation or library stub for module named "native"  [import]
- mypy/fastparse.py:101: error: Return type becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:283: error: Argument 1 to "is_no_type_check_decorator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:308: error: Type of variable becomes "Dict[type, Callable[[Optional[Any]], Any]]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:321: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:332: error: Argument 3 to "set_line" becomes "Union[Any, Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:338: error: Argument 2 to "translate_opt_expr_list" becomes "Sequence[Optional[Any]]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:345: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:348: error: Argument 2 to "get_lineno" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:354: error: Argument 2 to "translate_stmt_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:373: error: Argument 2 to "translate_type_comment" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:388: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:404: error: Argument 2 to "from_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:411: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:424: error: Argument 2 to "from_comp_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:431: error: Argument 2 to "as_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:438: error: Argument 2 to "as_required_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:494: error: Argument 2 to "visit_Module" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:514: error: Argument 2 to "visit_FunctionDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:519: error: Argument 2 to "visit_AsyncFunctionDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:522: error: Argument 2 to "do_func_def" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:662: error: Argument 2 to "transform_args" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:668: error: Type of variable becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:669: error: Redundant cast to "List[Any]"  [redundant-cast]
- mypy/fastparse.py:669: error: Target type of cast becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:708: error: Argument 2 to "make_argument" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:708: error: Argument 3 to "make_argument" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:727: error: Argument 3 to "fail_arg" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:735: error: Argument 2 to "visit_ClassDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:760: error: Argument 2 to "visit_Return" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:765: error: Argument 2 to "visit_Delete" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:775: error: Argument 2 to "visit_Assign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:783: error: Argument 2 to "visit_AnnAssign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:798: error: Argument 2 to "visit_AugAssign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:805: error: Argument 2 to "visit_For" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:815: error: Argument 2 to "visit_AsyncFor" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:826: error: Argument 2 to "visit_While" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:833: error: Argument 2 to "visit_If" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:841: error: Argument 2 to "visit_With" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:850: error: Argument 2 to "visit_AsyncWith" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:860: error: Argument 2 to "visit_Raise" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:865: error: Argument 2 to "visit_Try" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:881: error: Argument 2 to "visit_Assert" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:886: error: Argument 2 to "visit_Import" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:902: error: Argument 2 to "visit_ImportFrom" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:915: error: Argument 2 to "visit_Global" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:920: error: Argument 2 to "visit_Nonlocal" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:925: error: Argument 2 to "visit_Expr" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:931: error: Argument 2 to "visit_Pass" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:936: error: Argument 2 to "visit_Break" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:941: error: Argument 2 to "visit_Continue" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:952: error: Argument 2 to "visit_BoolOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:966: error: Argument 4 to "group" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:974: error: Argument 2 to "visit_BinOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:984: error: Argument 2 to "visit_UnaryOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1002: error: Argument 2 to "visit_Lambda" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1013: error: Argument 2 to "visit_IfExp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1020: error: Argument 2 to "visit_Dict" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1026: error: Argument 2 to "visit_Set" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1031: error: Argument 2 to "visit_ListComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1032: error: Target type of cast becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1036: error: Argument 2 to "visit_SetComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1037: error: Target type of cast becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1041: error: Argument 2 to "visit_DictComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1055: error: Argument 2 to "visit_GeneratorExp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1068: error: Argument 2 to "visit_Await" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1074: error: Argument 2 to "visit_Yield" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1079: error: Argument 2 to "visit_YieldFrom" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1084: error: Argument 2 to "visit_Compare" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1092: error: Argument 2 to "visit_Call" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1132: error: Argument 2 to "visit_Num" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1149: error: Argument 2 to "visit_Str" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1160: error: Argument 2 to "visit_JoinedStr" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1179: error: Argument 2 to "visit_FormattedValue" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1199: error: Argument 2 to "visit_Bytes" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1204: error: Argument 2 to "visit_NameConstant" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1209: error: Argument 2 to "visit_Ellipsis" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1214: error: Argument 2 to "visit_Attribute" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1227: error: Argument 2 to "visit_Subscript" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1245: error: Argument 2 to "visit_Starred" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1250: error: Argument 2 to "visit_Name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1255: error: Argument 2 to "visit_List" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1265: error: Argument 2 to "visit_Tuple" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1272: error: Argument 2 to "visit_Slice" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1278: error: Argument 2 to "visit_ExtSlice" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1283: error: Argument 2 to "visit_Index" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1299: error: Type of variable becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1314: error: Argument 2 to "invalid_type" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1333: error: Argument 2 to "visit" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1336: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1336: error: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader  [misc]
- mypy/fastparse.py:1338: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1353: error: Return type becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1367: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1381: error: Argument 2 to "visit_Call" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1427: error: Argument 2 to "translate_argument_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1430: error: Argument 2 to "_extract_argument_name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1439: error: Argument 2 to "visit_Name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1442: error: Argument 2 to "visit_BinOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1454: error: Argument 2 to "visit_NameConstant" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1489: error: Argument 2 to "visit_UnaryOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1499: error: Argument 3 to "numeric_type" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1525: error: Argument 2 to "visit_Num" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1529: error: Argument 2 to "visit_Str" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1550: error: Argument 2 to "visit_Bytes" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1556: error: Argument 2 to "visit_Subscript" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1586: error: Argument 2 to "visit_Tuple" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1591: error: Argument 2 to "visit_Attribute" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1600: error: Argument 2 to "visit_Ellipsis" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1604: error: Argument 2 to "visit_List" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1609: error: Argument 1 to "stringify_name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:134: error: Argument 1 to "is_no_type_check_decorator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:174: error: Type of variable becomes "Dict[type, Callable[[Optional[Any]], Any]]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:182: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:193: error: Argument 3 to "set_line" becomes "Union[Any, Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:198: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:206: error: Argument 2 to "get_lineno" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:211: error: Argument 2 to "translate_stmt_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:230: error: Argument 2 to "translate_type_comment" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:245: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:260: error: Argument 2 to "from_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:269: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:282: error: Argument 2 to "from_comp_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:289: error: Argument 2 to "as_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:296: error: Argument 2 to "as_required_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:347: error: Argument 2 to "visit_Module" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:367: error: Argument 2 to "visit_FunctionDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:480: error: Argument 2 to "transform_args" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:533: error: Argument 2 to "extract_names" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:541: error: Argument 3 to "convert_arg" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:575: error: Argument 2 to "stringify_name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:588: error: Argument 2 to "visit_ClassDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:604: error: Argument 2 to "visit_Return" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:609: error: Argument 2 to "visit_Delete" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:619: error: Argument 2 to "visit_Assign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:627: error: Argument 2 to "visit_AugAssign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:634: error: Argument 2 to "visit_For" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:644: error: Argument 2 to "visit_While" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:651: error: Argument 2 to "visit_If" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:658: error: Argument 2 to "visit_With" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:666: error: Argument 2 to "visit_Raise" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:682: error: Argument 2 to "visit_TryExcept" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:686: error: Argument 2 to "visit_TryFinally" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:693: error: Argument 2 to "try_handler" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse2.py:693: error: Argument 3 to "try_handler" becomes "List[Any```

github-actions[bot] avatar Aug 07 '21 00:08 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

optuna (https://github.com/optuna/optuna.git)
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type

streamlit (https://github.com/streamlit/streamlit.git)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:265:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]

freqtrade (https://github.com/freqtrade/freqtrade.git)
- scripts/rest_client.py:20: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
- scripts/rest_client.py:21: error: Library stubs not installed for "requests.exceptions" (or incompatible with Python 3.8)
- freqtrade/rpc/webhook.py:7: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"

mypy (https://github.com/python/mypy.git)
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:45: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:51: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:51: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:51: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:56: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: "Iterator" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: "AsyncIterator" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:95: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: "Generator" expects no type arguments, but 3 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: "Awaitable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.S" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: "Awaitable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:113: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: "AsyncIterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:123: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: "Container" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:127: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: "Mapping" expects no type arguments, but 2 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:138: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:141: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:141: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:141: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:144: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:144: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:144: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:150: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:158: error: "Mapping" expects no type arguments, but 2 given  [type-arg]
+ mypyc/test-data/fixtures/testutil.py:32: error: unused "type: ignore" comment
+ mypyc/test-data/driver/driver.py:11: error: Cannot find implementation or library stub for module named "native"  [import]
- mypy/fastparse.py:101: error: Return type becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:283: error: Argument 1 to "is_no_type_check_decorator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:308: error: Type of variable becomes "Dict[type, Callable[[Optional[Any]], Any]]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:321: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:332: error: Argument 3 to "set_line" becomes "Union[Any, Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:338: error: Argument 2 to "translate_opt_expr_list" becomes "Sequence[Optional[Any]]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:345: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:348: error: Argument 2 to "get_lineno" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:354: error: Argument 2 to "translate_stmt_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:373: error: Argument 2 to "translate_type_comment" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:388: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:404: error: Argument 2 to "from_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:411: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:424: error: Argument 2 to "from_comp_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:431: error: Argument 2 to "as_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:438: error: Argument 2 to "as_required_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:494: error: Argument 2 to "visit_Module" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:514: error: Argument 2 to "visit_FunctionDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:519: error: Argument 2 to "visit_AsyncFunctionDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:522: error: Argument 2 to "do_func_def" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:662: error: Argument 2 to "transform_args" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:668: error: Type of variable becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:669: error: Redundant cast to "List[Any]"  [redundant-cast]
- mypy/fastparse.py:669: error: Target type of cast becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:708: error: Argument 2 to "make_argument" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:708: error: Argument 3 to "make_argument" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:727: error: Argument 3 to "fail_arg" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:735: error: Argument 2 to "visit_ClassDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:760: error: Argument 2 to "visit_Return" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:765: error: Argument 2 to "visit_Delete" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:775: error: Argument 2 to "visit_Assign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:783: error: Argument 2 to "visit_AnnAssign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:798: error: Argument 2 to "visit_AugAssign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:805: error: Argument 2 to "visit_For" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:815: error: Argument 2 to "visit_AsyncFor" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:826: error: Argument 2 to "visit_While" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:833: error: Argument 2 to "visit_If" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:841: error: Argument 2 to "visit_With" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:850: error: Argument 2 to "visit_AsyncWith" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:860: error: Argument 2 to "visit_Raise" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:865: error: Argument 2 to "visit_Try" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:881: error: Argument 2 to "visit_Assert" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:886: error: Argument 2 to "visit_Import" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:902: error: Argument 2 to "visit_ImportFrom" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:915: error: Argument 2 to "visit_Global" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:920: error: Argument 2 to "visit_Nonlocal" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:925: error: Argument 2 to "visit_Expr" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:931: error: Argument 2 to "visit_Pass" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:936: error: Argument 2 to "visit_Break" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:941: error: Argument 2 to "visit_Continue" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:952: error: Argument 2 to "visit_BoolOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:966: error: Argument 4 to "group" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:974: error: Argument 2 to "visit_BinOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:984: error: Argument 2 to "visit_UnaryOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1002: error: Argument 2 to "visit_Lambda" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1013: error: Argument 2 to "visit_IfExp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1020: error: Argument 2 to "visit_Dict" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1026: error: Argument 2 to "visit_Set" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1031: error: Argument 2 to "visit_ListComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1032: error: Target type of cast becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1036: error: Argument 2 to "visit_SetComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1037: error: Target type of cast becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1041: error: Argument 2 to "visit_DictComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1055: error: Argument 2 to "visit_GeneratorExp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1068: error: Argument 2 to "visit_Await" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1074: error: Argument 2 to "visit_Yield" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1079: error: Argument 2 to "visit_YieldFrom" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1084: error: Argument 2 to "visit_Compare" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1092: error: Argument 2 to "visit_Call" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1132: error: Argument 2 to "visit_Num" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1149: error: Argument 2 to "visit_Str" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1160: error: Argument 2 to "visit_JoinedStr" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1179: error: Argument 2 to "visit_FormattedValue" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1199: error: Argument 2 to "visit_Bytes" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1204: error: Argument 2 to "visit_NameConstant" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1209: error: Argument 2 to "visit_Ellipsis" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1214: error: Argument 2 to "visit_Attribute" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1227: error: Argument 2 to "visit_Subscript" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1245: error: Argument 2 to "visit_Starred" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1250: error: Argument 2 to "visit_Name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1255: error: Argument 2 to "visit_List" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1265: error: Argument 2 to "visit_Tuple" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1272: error: Argument 2 to "visit_Slice" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1278: error: Argument 2 to "visit_ExtSlice" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1283: error: Argument 2 to "visit_Index" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1299: error: Type of variable becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1314: error: Argument 2 to "invalid_type" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1333: error: Argument 2 to "visit" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1336: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1336: error: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader  [misc]
- mypy/fastparse.py:1338: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1353: error: Return type becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1367: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1381: error: Argument 2 to "visit_Call" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1427: error: Argument 2 to "translate_argument_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1430: error: Argument 2 to "_extract_argument_name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1439: error: Argument 2 to "visit_Name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1442: error: Argument 2 to "visit_BinOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1454: error: Argument 2 to "visit_NameConstant" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1489: error: Argument 2 to "visit_UnaryOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1499: error: Argument 3 to "numeric_type" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1525: error: Argument 2 to "visit_Num" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1529: error```

github-actions[bot] avatar Aug 07 '21 00:08 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

optuna (https://github.com/optuna/optuna.git)
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type

streamlit (https://github.com/streamlit/streamlit.git)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:265:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state.strategies"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]

mypy (https://github.com/python/mypy.git)
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:45: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:45: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:51: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:51: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:51: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:56: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:56: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:61: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: "Iterator" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:65: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: "AsyncIterator" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:78: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:95: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:95: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: "Generator" expects no type arguments, but 3 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: "Awaitable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:99: error: Variable "mypyc.test-data.fixtures.typing-full.S" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: "Awaitable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.V" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:102: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:113: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:113: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: "AsyncIterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:118: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:123: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:123: error: "Container" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: "Iterable" expects no type arguments, but 1 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:127: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:127: error: Variable "mypyc.test-data.fixtures.typing-full.T_co" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: "Mapping" expects no type arguments, but 2 given  [type-arg]
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:138: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:138: error: Variable "mypyc.test-data.fixtures.typing-full.U" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:141: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:141: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:141: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:144: error: Variable "mypyc.test-data.fixtures.typing-full.Protocol" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:144: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:144: error: Invalid base class "Protocol"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Variable "mypyc.test-data.fixtures.typing-full.Generic" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:150: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Invalid base class "Generic"  [misc]
+ mypyc/test-data/fixtures/typing-full.pyi:150: error: Variable "mypyc.test-data.fixtures.typing-full.T" is not valid as a type  [valid-type]
+ mypyc/test-data/fixtures/typing-full.pyi:158: error: "Mapping" expects no type arguments, but 2 given  [type-arg]
+ mypyc/test-data/fixtures/testutil.py:32: error: unused "type: ignore" comment
+ mypyc/test-data/driver/driver.py:11: error: Cannot find implementation or library stub for module named "native"  [import]
- mypy/fastparse.py:101: error: Return type becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:285: error: Argument 1 to "is_no_type_check_decorator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:310: error: Type of variable becomes "Dict[type, Callable[[Optional[Any]], Any]]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:323: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:334: error: Argument 3 to "set_line" becomes "Union[Any, Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:340: error: Argument 2 to "translate_opt_expr_list" becomes "Sequence[Optional[Any]]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:347: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:350: error: Argument 2 to "get_lineno" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:356: error: Argument 2 to "translate_stmt_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:376: error: Argument 2 to "translate_type_comment" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:391: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:407: error: Argument 2 to "from_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:414: error: Type of variable becomes "Dict[Type[Any], str]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:427: error: Argument 2 to "from_comp_operator" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:434: error: Argument 2 to "as_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:441: error: Argument 2 to "as_required_block" becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:497: error: Argument 2 to "visit_Module" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:517: error: Argument 2 to "visit_FunctionDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:522: error: Argument 2 to "visit_AsyncFunctionDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:525: error: Argument 2 to "do_func_def" becomes "Union[Any, Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:665: error: Argument 2 to "transform_args" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:671: error: Type of variable becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:672: error: Redundant cast to "List[Any]"  [redundant-cast]
- mypy/fastparse.py:672: error: Target type of cast becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:711: error: Argument 2 to "make_argument" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:711: error: Argument 3 to "make_argument" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:730: error: Argument 3 to "fail_arg" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:738: error: Argument 2 to "visit_ClassDef" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:763: error: Argument 2 to "visit_Return" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:768: error: Argument 2 to "visit_Delete" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:778: error: Argument 2 to "visit_Assign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:786: error: Argument 2 to "visit_AnnAssign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:801: error: Argument 2 to "visit_AugAssign" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:808: error: Argument 2 to "visit_For" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:818: error: Argument 2 to "visit_AsyncFor" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:829: error: Argument 2 to "visit_While" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:836: error: Argument 2 to "visit_If" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:844: error: Argument 2 to "visit_With" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:853: error: Argument 2 to "visit_AsyncWith" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:863: error: Argument 2 to "visit_Raise" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:868: error: Argument 2 to "visit_Try" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:884: error: Argument 2 to "visit_Assert" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:889: error: Argument 2 to "visit_Import" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:905: error: Argument 2 to "visit_ImportFrom" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:918: error: Argument 2 to "visit_Global" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:923: error: Argument 2 to "visit_Nonlocal" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:928: error: Argument 2 to "visit_Expr" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:934: error: Argument 2 to "visit_Pass" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:939: error: Argument 2 to "visit_Break" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:944: error: Argument 2 to "visit_Continue" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:955: error: Argument 2 to "visit_BoolOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:969: error: Argument 4 to "group" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:977: error: Argument 2 to "visit_BinOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:987: error: Argument 2 to "visit_UnaryOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1005: error: Argument 2 to "visit_Lambda" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1016: error: Argument 2 to "visit_IfExp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1023: error: Argument 2 to "visit_Dict" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1029: error: Argument 2 to "visit_Set" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1034: error: Argument 2 to "visit_ListComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1035: error: Target type of cast becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1039: error: Argument 2 to "visit_SetComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1040: error: Target type of cast becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1044: error: Argument 2 to "visit_DictComp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1058: error: Argument 2 to "visit_GeneratorExp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1071: error: Argument 2 to "visit_Await" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1077: error: Argument 2 to "visit_Yield" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1082: error: Argument 2 to "visit_YieldFrom" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1087: error: Argument 2 to "visit_Compare" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1095: error: Argument 2 to "visit_Call" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1135: error: Argument 2 to "visit_Num" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1152: error: Argument 2 to "visit_Str" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1163: error: Argument 2 to "visit_JoinedStr" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1182: error: Argument 2 to "visit_FormattedValue" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1202: error: Argument 2 to "visit_Bytes" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1207: error: Argument 2 to "visit_NameConstant" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1212: error: Argument 2 to "visit_Ellipsis" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1217: error: Argument 2 to "visit_Attribute" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1230: error: Argument 2 to "visit_Subscript" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1248: error: Argument 2 to "visit_Starred" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1253: error: Argument 2 to "visit_Name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1258: error: Argument 2 to "visit_List" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1268: error: Argument 2 to "visit_Tuple" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1275: error: Argument 2 to "visit_Slice" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1281: error: Argument 2 to "visit_ExtSlice" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1286: error: Argument 2 to "visit_Index" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1302: error: Type of variable becomes "List[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1317: error: Argument 2 to "invalid_type" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1336: error: Argument 2 to "visit" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1339: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1339: error: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader  [misc]
- mypy/fastparse.py:1341: error: Argument 2 to "visit" becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1356: error: Return type becomes "Optional[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1370: error: Argument 2 to "translate_expr_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1384: error: Argument 2 to "visit_Call" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1430: error: Argument 2 to "translate_argument_list" becomes "Sequence[Any]" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1433: error: Argument 2 to "_extract_argument_name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1442: error: Argument 2 to "visit_Name" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1445: error: Argument 2 to "visit_BinOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1457: error: Argument 2 to "visit_NameConstant" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1492: error: Argument 2 to "visit_UnaryOp" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1502: error: Argument 3 to "numeric_type" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1528: error: Argument 2 to "visit_Num" becomes "Any" due to an unfollowed import  [no-any-unimported]
- mypy/fastparse.py:1532: error: Argument 2 to "visit_Str" becomes "Any" due to an un```

github-actions[bot] avatar Oct 04 '21 05:10 github-actions[bot]

#11257, #11259, and #11261 should all help unblock this

nipunn1313 avatar Oct 04 '21 06:10 nipunn1313

Diff from mypy_primer, showing the effect of this PR on open source code:

freqtrade (https://github.com/freqtrade/freqtrade.git)
- scripts/rest_client.py:20: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
- scripts/rest_client.py:21: error: Library stubs not installed for "requests.exceptions" (or incompatible with Python 3.8)
- freqtrade/strategy/informative_decorator.py:56: error: Need type annotation for "informative_pairs"
- freqtrade/rpc/webhook.py:7: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"

optuna (https://github.com/optuna/optuna.git)
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type

jax (https://github.com/google/jax.git)
- jax/_src/lib/__init__.py:37: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:37: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jax/_src/cloud_tpu_init.py:61: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jaxlib/pocketfft.py:21: error: Cannot find implementation or library stub for module named "flatbuffers"  [import]
+ jaxlib/pocketfft.py:32: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:32: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/lib/__init__.py:86: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:91: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:96: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:101: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:106: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/interpreters/partial_eval.py:151: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- jax/interpreters/partial_eval.py:1441: error: Variable "jax._src.tree_util.PyTreeDef" is not valid as a type  [valid-type]
- jax/interpreters/partial_eval.py:1441: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/interpreters/partial_eval.py:1462: error: Variable "jax._src.tree_util.PyTreeDef" is not valid as a type  [valid-type]
- jax/interpreters/partial_eval.py:1462: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/_src/custom_derivatives.py:151: error: Name "source_info_util" is not defined  [name-defined]
- jax/_src/custom_derivatives.py:151: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py:38: error: Cannot find implementation or library stub for module named "utils"  [import]

streamlit (https://github.com/streamlit/streamlit.git)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:265:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state.strategies"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]

rotki (https://github.com/rotki/rotki)
+ tools/data_faker/data_faker/mock_apis/encoding.py:8: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/encoding.py:17: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:16: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:22: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:27: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:32: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:37: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:62: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:67: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:74: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:44: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:54: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:55: error: Call to untyped function "api_error" in typed context
+ tools/data_faker/data_faker/mock_apis/api.py:58: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:69: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:90: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:110: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:114: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:123: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:126: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:132: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:135: error: Function is missing a type annotation
- rotkehlchen/chain/ethereum/modules/makerdao/dsr.py:55: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:53: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:53: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ rotkehlchen/chain/ethereum/modules/makerdao/dsr.py:55: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:55: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:55: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:60: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:60: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:61: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:61: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:62: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:62: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:71: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:71: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases

manticore (https://github.com/trailofbits/manticore.git)
- tests/auto_generators/make_dump.py:360: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:362: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:365: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:416: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:418: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:428: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)

kornia (https://github.com/kornia/kornia.git)
+ kornia/utils/_compat.py:3: error: Module "packaging" has no attribute "version"  [attr-defined]
+ kornia/color/hsv.py:8: error: Module "packaging" has no attribute "version"  [attr-defined]

tornado (https://github.com/tornadoweb/tornado.git)
- tornado/test/__main__.py:5: error: Cannot find implementation or library stub for module named "tornado.test.runtests"
- tornado/test/__main__.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tornado/test/options_test.py:10: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/asyncio_test.py:58: error: "yield from" can't be applied to "Awaitable[int]"
+ tornado/test/tcpserver_test.py:129: error: Item "None" of "Optional[IO[bytes]]" has no attribute "write"
+ tornado/test/tcpserver_test.py:130: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
+ tornado/test/tcpserver_test.py:132: error: Item "None" of "Optional[IO[bytes]]" has no attribute "read"
+ tornado/test/tcpserver_test.py:133: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
- tornado/test/tcpserver_test.py:12: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpclient_test.py:27: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/simple_httpclient_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.httpclient_test"
- tornado/test/simple_httpclient_test.py:33: error: Cannot find implementation or library stub for module named "tornado.test"
- tornado/test/simple_httpclient_test.py:41: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/process_test.py:17: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/netutil_test.py:18: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/iostream_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/ioloop_test.py:20: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:164: error: Argument 2 to "add_timeout" of "IOLoop" has incompatible type "partial[int]"; expected "Callable[..., Optional[Awaitable[Any]]]"
+ tornado/test/ioloop_test.py:164: note: "partial[int].__call__" has type "Callable[[VarArg(Any), KwArg(Any)], int]"
- tornado/test/httpserver_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/httpclient_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/gen_test.py:14: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:723: error: "None" has no attribute "stop"
+ tornado/test/ioloop_test.py:741: error: "None" has no attribute "stop"
+ tornado/test/httpclient_test.py:150: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
- tornado/test/curl_httpclient_test.py:6: error: Cannot find implementation or library stub for module named "tornado.test"
+ tornado/test/curl_httpclient_test.py:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

github-actions[bot] avatar Oct 04 '21 06:10 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

optuna (https://github.com/optuna/optuna.git)
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type

streamlit (https://github.com/streamlit/streamlit.git)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:265:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state.strategies"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/state/session_state_test.py:42:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]

jax (https://github.com/google/jax.git)
- jax/_src/lib/__init__.py:37: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:37: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jax/_src/cloud_tpu_init.py:61: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jaxlib/pocketfft.py:21: error: Cannot find implementation or library stub for module named "flatbuffers"  [import]
+ jaxlib/pocketfft.py:32: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:32: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/lib/__init__.py:86: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:91: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:96: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:101: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:106: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/interpreters/partial_eval.py:151: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- jax/interpreters/partial_eval.py:1441: error: Variable "jax._src.tree_util.PyTreeDef" is not valid as a type  [valid-type]
- jax/interpreters/partial_eval.py:1441: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/interpreters/partial_eval.py:1462: error: Variable "jax._src.tree_util.PyTreeDef" is not valid as a type  [valid-type]
- jax/interpreters/partial_eval.py:1462: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/_src/custom_derivatives.py:151: error: Name "source_info_util" is not defined  [name-defined]
- jax/_src/custom_derivatives.py:151: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py:38: error: Cannot find implementation or library stub for module named "utils"  [import]

rotki (https://github.com/rotki/rotki)
+ tools/data_faker/data_faker/mock_apis/encoding.py:8: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/encoding.py:17: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:16: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:22: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:27: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:32: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:37: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:62: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:67: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:74: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:44: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:54: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:55: error: Call to untyped function "api_error" in typed context
+ tools/data_faker/data_faker/mock_apis/api.py:58: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:69: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:90: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:110: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:114: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:123: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:126: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:132: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:135: error: Function is missing a type annotation
- rotkehlchen/chain/ethereum/modules/makerdao/dsr.py:55: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:53: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:53: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ rotkehlchen/chain/ethereum/modules/makerdao/dsr.py:55: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:55: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:55: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:60: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:60: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:61: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:61: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:62: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:62: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:71: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:71: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases

freqtrade (https://github.com/freqtrade/freqtrade.git)
- scripts/rest_client.py:20: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
- scripts/rest_client.py:21: error: Library stubs not installed for "requests.exceptions" (or incompatible with Python 3.8)
- freqtrade/strategy/informative_decorator.py:56: error: Need type annotation for "informative_pairs"
- freqtrade/rpc/webhook.py:7: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"

manticore (https://github.com/trailofbits/manticore.git)
- tests/auto_generators/make_dump.py:360: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:362: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:365: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:416: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:418: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:428: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)

kornia (https://github.com/kornia/kornia.git)
+ kornia/utils/_compat.py:3: error: Module "packaging" has no attribute "version"  [attr-defined]
+ kornia/color/hsv.py:8: error: Module "packaging" has no attribute "version"  [attr-defined]

tornado (https://github.com/tornadoweb/tornado.git)
- tornado/test/__main__.py:5: error: Cannot find implementation or library stub for module named "tornado.test.runtests"
- tornado/test/__main__.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tornado/test/options_test.py:10: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/asyncio_test.py:58: error: "yield from" can't be applied to "Awaitable[int]"
+ tornado/test/tcpserver_test.py:129: error: Item "None" of "Optional[IO[bytes]]" has no attribute "write"
+ tornado/test/tcpserver_test.py:130: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
+ tornado/test/tcpserver_test.py:132: error: Item "None" of "Optional[IO[bytes]]" has no attribute "read"
+ tornado/test/tcpserver_test.py:133: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
- tornado/test/tcpserver_test.py:12: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpclient_test.py:27: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/simple_httpclient_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.httpclient_test"
- tornado/test/simple_httpclient_test.py:33: error: Cannot find implementation or library stub for module named "tornado.test"
- tornado/test/simple_httpclient_test.py:41: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/process_test.py:17: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/netutil_test.py:18: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/iostream_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/ioloop_test.py:20: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:164: error: Argument 2 to "add_timeout" of "IOLoop" has incompatible type "partial[int]"; expected "Callable[..., Optional[Awaitable[Any]]]"
+ tornado/test/ioloop_test.py:164: note: "partial[int].__call__" has type "Callable[[VarArg(Any), KwArg(Any)], int]"
- tornado/test/httpserver_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/httpclient_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/gen_test.py:14: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:723: error: "None" has no attribute "stop"
+ tornado/test/ioloop_test.py:741: error: "None" has no attribute "stop"
+ tornado/test/httpclient_test.py:150: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
- tornado/test/curl_httpclient_test.py:6: error: Cannot find implementation or library stub for module named "tornado.test"
+ tornado/test/curl_httpclient_test.py:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

github-actions[bot] avatar Oct 04 '21 20:10 github-actions[bot]

We should probably add https://github.com/python/mypy/issues/10310 and other exclude usability improvements before putting this in a release because it seems that this is picking up tools/test/misc directories that people may not want checked.

ethanhs avatar Oct 04 '21 20:10 ethanhs

#11323 and #11259 should be enough to get the tests to pass!

#10310 may be wise to also do ahead of time per ethan's suggestion

nipunn1313 avatar Oct 13 '21 02:10 nipunn1313

I'm not surprised if nobody cares, but I don't think this is a good idea. Folders without __init__.py being importable is already bad, and I want the type checker to warn about it, as Python itself fails to do so.

The practical problem that this solves is namespace packages in typeshed. Why not have type checkers be more strict about namespace packages than Python itself (as they are about many other things), and introduce something to explicitly mark namespace packages, similarly to py.typed files?

Akuli avatar Oct 13 '21 18:10 Akuli

The practical problem here isn't just namespace packages in typeshed. This is actually a really commonly reported issue / stumbling block for users. I'm pretty sympathetic, since any time we deviate from Python semantics we cost users some surprise. Not running with --namespace-packages can result in bad false negatives if you happen to forget an __init__.py somewhere in tree.

I don't think anyone's planning to deprecate --no-namespace-packages, so you should still be able to get the current behaviour.

hauntsaninja avatar Oct 13 '21 18:10 hauntsaninja

It just feels wrong to have one global setting that affects every library you import, regardless of whether it's a dependency of a dependency, or a part of your project where you forgot to put __init__.py.

Akuli avatar Oct 13 '21 18:10 Akuli

I'm also not terribly fond of namespace packages, but it's how Python itself works now, so I think the default behavior of mypy should match what Python itself does.

JelleZijlstra avatar Oct 13 '21 18:10 JelleZijlstra

Diff from mypy_primer, showing the effect of this PR on open source code:

freqtrade (https://github.com/freqtrade/freqtrade.git)
- scripts/rest_client.py:20: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
- scripts/rest_client.py:21: error: Library stubs not installed for "requests.exceptions" (or incompatible with Python 3.8)
- freqtrade/strategy/informative_decorator.py:56: error: Need type annotation for "informative_pairs"
- freqtrade/rpc/webhook.py:7: error: Library stubs not installed for "requests" (or incompatible with Python 3.8)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"
+ freqtrade/__init__.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info

optuna (https://github.com/optuna/optuna.git)
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:29: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "v1.3.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:36: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:42: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:51: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:59: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type
- optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "v2.4.0.a.BaseModel" is not valid as a type
+ optuna/storages/_rdb/alembic/versions/v2.4.0.a.py:69: error: Variable "optuna.storages._rdb.alembic.versions.v2.4.0.a.BaseModel" is not valid as a type

jax (https://github.com/google/jax.git)
- jax/experimental/jax2tf/examples_eval/examples_test.py:40: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.examples_eval"  [import]
- jax/_src/lib/mlir/dialects/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/mlir/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:37: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
+ jaxlib/pocketfft.py:21: error: Cannot find implementation or library stub for module named "flatbuffers"  [import]
- jax/_src/lib/__init__.py:37: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- jax/_src/lib/__init__.py:46: error: Cannot find implementation or library stub for module named "jaxlib.version"  [import]
+ jaxlib/pocketfft.py:32: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:32: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/lib/__init__.py:71: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jax/_src/lib/__init__.py:86: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:91: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:96: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:101: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:106: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
- jax/_src/lib/__init__.py:75: error: Cannot find implementation or library stub for module named "jaxlib.lapack"  [import]
- jax/_src/lib/__init__.py:76: error: Cannot find implementation or library stub for module named "jaxlib.pocketfft"  [import]
- jax/_src/lib/__init__.py:84: error: Cannot find implementation or library stub for module named "jaxlib.cusolver"  [import]
- jax/_src/lib/__init__.py:89: error: Cannot find implementation or library stub for module named "jaxlib.cusparse"  [import]
- jax/_src/lib/__init__.py:94: error: Cannot find implementation or library stub for module named "jaxlib.rocsolver"  [import]
- jax/_src/lib/__init__.py:99: error: Cannot find implementation or library stub for module named "jaxlib.cuda_prng"  [import]
- jax/_src/lib/__init__.py:104: error: Cannot find implementation or library stub for module named "jaxlib.cuda_linalg"  [import]
- jax/experimental/jax2tf/examples_eval/examples_converter.py:25: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.examples_eval"  [import]
- jax/experimental/jax2tf/examples_eval/converters.py:20: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.examples_eval"  [import]
+ jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py:38: error: Cannot find implementation or library stub for module named "utils"  [import]

streamlit (https://github.com/streamlit/streamlit.git)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:265:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:74:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state.strategies"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state"  [import]

rotki (https://github.com/rotki/rotki)
+ tools/data_faker/data_faker/mock_apis/encoding.py:8: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/encoding.py:17: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:16: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:22: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:27: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:32: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:37: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:62: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:67: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:74: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:44: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:54: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:55: error: Call to untyped function "api_error" in typed context
+ tools/data_faker/data_faker/mock_apis/api.py:58: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:69: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:90: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:110: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:114: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:123: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:126: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:132: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:135: error: Function is missing a type annotation
- rotkehlchen/chain/ethereum/modules/makerdao/dsr.py:55: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:53: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:53: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:54: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ rotkehlchen/chain/ethereum/modules/makerdao/dsr.py:55: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:55: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:55: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:60: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:60: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:61: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:61: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:62: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:62: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:71: error: Variable "rotkehlchen.typing.ChecksumEthAddress" is not valid as a type
- rotkehlchen/chain/ethereum/modules/balancer/typing.py:71: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases

manticore (https://github.com/trailofbits/manticore.git)
- tests/auto_generators/make_dump.py:360: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:362: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:365: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:416: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:418: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:428: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)

kornia (https://github.com/kornia/kornia.git)
+ kornia/utils/_compat.py:3: error: Module "packaging" has no attribute "version"  [attr-defined]

tornado (https://github.com/tornadoweb/tornado.git)
- tornado/test/__main__.py:5: error: Cannot find implementation or library stub for module named "tornado.test.runtests"
- tornado/test/__main__.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tornado/test/options_test.py:10: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/tcpserver_test.py:129: error: Item "None" of "Optional[IO[bytes]]" has no attribute "write"
+ tornado/test/tcpserver_test.py:130: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
+ tornado/test/tcpserver_test.py:132: error: Item "None" of "Optional[IO[bytes]]" has no attribute "read"
+ tornado/test/tcpserver_test.py:133: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
- tornado/test/tcpserver_test.py:12: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpclient_test.py:27: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/simple_httpclient_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.httpclient_test"
- tornado/test/simple_httpclient_test.py:33: error: Cannot find implementation or library stub for module named "tornado.test"
- tornado/test/simple_httpclient_test.py:41: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/process_test.py:17: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/netutil_test.py:18: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/iostream_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/ioloop_test.py:20: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:164: error: Argument 2 to "add_timeout" of "IOLoop" has incompatible type "partial[int]"; expected "Callable[..., Optional[Awaitable[Any]]]"
+ tornado/test/ioloop_test.py:164: note: "partial[int].__call__" has type "Callable[[VarArg(Any), KwArg(Any)], int]"
- tornado/test/httpserver_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/httpclient_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/gen_test.py:14: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:723: error: "None" has no attribute "stop"
+ tornado/test/ioloop_test.py:741: error: "None" has no attribute "stop"
+ tornado/test/httpclient_test.py:150: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
- tornado/test/curl_httpclient_test.py:6: error: Cannot find implementation or library stub for module named "tornado.test"
+ tornado/test/curl_httpclient_test.py:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

github-actions[bot] avatar Nov 17 '21 04:11 github-actions[bot]

Thanks to Nipunn's efforts CI is now green. There's still some daemon stuff to be fixed, but shouldn't be a blocker, see https://github.com/python/mypy/issues/11259

hauntsaninja avatar Nov 17 '21 04:11 hauntsaninja

#11322 - is the remaining daemon issue.

I don't think we should make it a blocker as it only affects the rare scenario in which you delete an __init__.py file to intentionally convert into a namespace package. Workaround exists (restart daemon).

Code looks good to me!

nipunn1313 avatar Nov 20 '21 07:11 nipunn1313

Great, let's get this merged! I'd like to play around with this a little before merging, since this kind of a big change, but don't wait for me if I get distracted and you don't hear anything from me in a few days.

JukkaL avatar Nov 22 '21 18:11 JukkaL

Hey friends! Can we give this one a rebase and try to get it in? Thanks!

(I've been blocking https://github.com/python/typeshed/pull/6106 on this)

nipunn1313 avatar Dec 24 '21 04:12 nipunn1313

Diff from mypy_primer, showing the effect of this PR on open source code:

pandera (https://github.com/pandera-dev/pandera)
+ docs/source/conf.py:113: error: Need type annotation for "exclude_patterns" (hint: "exclude_patterns: List[<type>] = ...")  [var-annotated]

rotki (https://github.com/rotki/rotki)
+ tools/data_faker/data_faker/mock_apis/encoding.py:8: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/encoding.py:17: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:16: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:22: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:27: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:32: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:37: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:62: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:67: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:74: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:44: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:54: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:55: error: Call to untyped function "api_error" in typed context
+ tools/data_faker/data_faker/mock_apis/api.py:58: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:69: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:90: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:110: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:114: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:123: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:126: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:132: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:135: error: Function is missing a type annotation
+ tools/data_faker/data_faker/fake_binance.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:147: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:150: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:168: error: Incompatible types in assignment (expression has type "List[Dict[str, str]]", target has type "int")
+ tools/data_faker/data_faker/fake_binance.py:171: error: Function is missing a type annotation
+ tools/data_faker/data_faker/actions.py:33: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/actions.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/actions.py:161: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/statistics.py:18: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:105: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:119: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:122: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:125: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:134: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/faker.py:68: error: Function is missing a return type annotation

jax (https://github.com/google/jax)
- jax/experimental/jax2tf/converters_eval/converters_eval_main.py:40: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
- jax/_src/lib/mlir/dialects/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/mlir/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:37: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:37: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- jax/_src/lib/__init__.py:46: error: Cannot find implementation or library stub for module named "jaxlib.version"  [import]
+ jaxlib/pocketfft.py:24: error: Cannot find implementation or library stub for module named "flatbuffers"  [import]
+ jaxlib/pocketfft.py:35: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:35: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/lib/__init__.py:71: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jax/_src/lib/__init__.py:86: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:91: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:96: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:101: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:106: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
- jax/_src/lib/__init__.py:75: error: Cannot find implementation or library stub for module named "jaxlib.lapack"  [import]
- jax/_src/lib/__init__.py:76: error: Cannot find implementation or library stub for module named "jaxlib.pocketfft"  [import]
- jax/_src/lib/__init__.py:84: error: Cannot find implementation or library stub for module named "jaxlib.cusolver"  [import]
- jax/_src/lib/__init__.py:89: error: Cannot find implementation or library stub for module named "jaxlib.cusparse"  [import]
- jax/_src/lib/__init__.py:94: error: Cannot find implementation or library stub for module named "jaxlib.rocsolver"  [import]
- jax/_src/lib/__init__.py:99: error: Cannot find implementation or library stub for module named "jaxlib.cuda_prng"  [import]
- jax/_src/lib/__init__.py:104: error: Cannot find implementation or library stub for module named "jaxlib.cuda_linalg"  [import]
- jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:25: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
+ jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:66: error: Argument after ** must be a mapping  [arg-type]
+ jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:70: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "update"  [union-attr]
- jax/experimental/jax2tf/converters_eval/converters.py:24: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
+ jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py:38: error: Cannot find implementation or library stub for module named "utils"  [import]

rclip (https://github.com/yurijmikhalevich/rclip)
- rclip/model.py:3: error: Cannot find implementation or library stub for module named "clip"
- rclip/model.py:4: error: Cannot find implementation or library stub for module named "clip.model"
- rclip/model.py:5: error: Cannot find implementation or library stub for module named "numpy"
- rclip/model.py:6: error: Cannot find implementation or library stub for module named "PIL"
- rclip/model.py:7: error: Cannot find implementation or library stub for module named "rclip"
- rclip/model.py:8: error: Cannot find implementation or library stub for module named "torch"
- rclip/model.py:9: error: Cannot find implementation or library stub for module named "torch.nn"
- rclip/utils.py:4: error: Cannot find implementation or library stub for module named "PIL"
- rclip/utils.py:6: error: Library stubs not installed for "requests" (or incompatible with Python 3.10)
- rclip/utils.py:6: note: Hint: "python3 -m pip install types-requests"
- rclip/utils.py:6: note: (or run "mypy --install-types" to install all missing stub packages)
- rclip/utils.py:9: error: Cannot find implementation or library stub for module named "rclip"
- rclip/utils.py:42: error: Incompatible types in assignment (expression has type "Path", variable has type "Optional[str]")
- rclip/utils.py:45: error: Argument 1 to "makedirs" has incompatible type "Optional[str]"; expected "Union[str, bytes, PathLike[str], PathLike[bytes]]"
- rclip/utils.py:46: error: Incompatible return value type (got "Optional[str]", expected "Path")
+ rclip/db.py: error: Source file found twice under different module names: "db" and "rclip.db"
+ rclip/db.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
- rclip/main.py:12: error: Cannot find implementation or library stub for module named "rclip"
- rclip/main.py:32: error: TypedDict key must be a string literal; expected one of ("modified_at", "size")
- rclip/db.py:70: error: Argument 1 to "update" of "dict" has incompatible type "NewImage"; expected "Mapping[Any, None]"

kornia (https://github.com/kornia/kornia)
+ kornia/utils/_compat.py:3: error: Module "packaging" has no attribute "version"  [attr-defined]

tornado (https://github.com/tornadoweb/tornado)
- tornado/test/__main__.py:5: error: Cannot find implementation or library stub for module named "tornado.test.runtests"
- tornado/test/__main__.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tornado/test/options_test.py:10: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/tcpserver_test.py:129: error: Item "None" of "Optional[IO[bytes]]" has no attribute "write"
+ tornado/test/tcpserver_test.py:130: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
+ tornado/test/tcpserver_test.py:132: error: Item "None" of "Optional[IO[bytes]]" has no attribute "read"
+ tornado/test/tcpserver_test.py:133: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
- tornado/test/tcpserver_test.py:12: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpclient_test.py:27: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/simple_httpclient_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.httpclient_test"
- tornado/test/simple_httpclient_test.py:33: error: Cannot find implementation or library stub for module named "tornado.test"
- tornado/test/simple_httpclient_test.py:41: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/process_test.py:17: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/netutil_test.py:18: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/iostream_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/ioloop_test.py:20: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:164: error: Argument 2 to "add_timeout" of "IOLoop" has incompatible type "partial[int]"; expected "Callable[..., Optional[Awaitable[Any]]]"
+ tornado/test/ioloop_test.py:164: note: "partial[int].__call__" has type "Callable[[VarArg(Any), KwArg(Any)], int]"
+ tornado/test/ioloop_test.py:723: error: "None" has no attribute "stop"
+ tornado/test/ioloop_test.py:741: error: "None" has no attribute "stop"
+ tornado/test/httpclient_test.py:150: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
- tornado/test/httpserver_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/httpclient_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/gen_test.py:14: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/curl_httpclient_test.py:6: error: Cannot find implementation or library stub for module named "tornado.test"

manticore (https://github.com/trailofbits/manticore)
- tests/auto_generators/make_dump.py:360: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:362: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:365: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:416: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:418: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:428: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)

freqtrade (https://github.com/freqtrade/freqtrade)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"
+ freqtrade/__init__.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info

streamlit (https://github.com/streamlit/streamlit)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: At top level:
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:265:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
+ lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: In member "test_namespace_package_unloaded" of class "LocalSourcesWatcherTest":
+ lib/tests/streamlit/watcher/local_sources_watcher_test.py:267:36: error: "MutableSequence[str]" has no attribute "_path"  [attr-defined]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state.strategies"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state"  [import]

github-actions[bot] avatar Dec 26 '21 11:12 github-actions[bot]

cc @JukkaL @hauntsaninja

97littleleaf11 avatar Jan 08 '22 22:01 97littleleaf11

Nipunn / typeshed are blocked on us and this change is ready, so we probably shouldn't delay past the next release. But given the breakage this will cause to people's setups I'd vaguely prefer it if @JukkaL were to hit merge.

I'm also curious if people have thoughts on how we could make this change go smoother. A couple thoughts:

  • Maybe we can make "Duplicate module named ..." not cause fatal build errors, or make the error note give clearer advice?
  • Similar thing for "Source file found twice under different module names"... I added a link to the docs in #11270, but we could more clearly say that the action to be taken is probably a) putting something on mypy path, b) adding an __init__.py, or c) using exclude
  • Fix https://github.com/python/mypy/issues/11322
  • Fix https://github.com/python/mypy/issues/9716
  • If there are other breaking changes we could bundle with this in the next release (to avoid a drip-drip-drip of breaking changes). Candidates changes include: https://github.com/python/mypy/issues/8584#issuecomment-927361405

Edit: Added #12154 to help with the first two points

hauntsaninja avatar Jan 08 '22 23:01 hauntsaninja

I think @JukkaL gave his approval in #12021.

srittau avatar Feb 02 '22 18:02 srittau

Diff from mypy_primer, showing the effect of this PR on open source code:

pandera (https://github.com/pandera-dev/pandera)
+ docs/source/conf.py:114: error: Need type annotation for "exclude_patterns" (hint: "exclude_patterns: List[<type>] = ...")  [var-annotated]

rotki (https://github.com/rotki/rotki)
+ tools/data_faker/data_faker/mock_apis/encoding.py:8: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/encoding.py:17: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:16: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:22: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:27: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:32: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:37: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:62: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:67: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:74: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:44: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:54: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:55: error: Call to untyped function "api_error" in typed context
+ tools/data_faker/data_faker/mock_apis/api.py:58: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:69: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:90: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:110: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:114: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:123: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:126: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:132: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:135: error: Function is missing a type annotation
+ tools/data_faker/data_faker/fake_binance.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:147: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:150: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:168: error: Incompatible types in assignment (expression has type "List[Dict[str, str]]", target has type "int")
+ tools/data_faker/data_faker/fake_binance.py:171: error: Function is missing a type annotation
+ tools/data_faker/data_faker/actions.py:33: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/actions.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/actions.py:161: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/statistics.py:18: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:105: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:119: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:122: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:125: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:134: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/faker.py:68: error: Function is missing a return type annotation

jax (https://github.com/google/jax)
- jax/experimental/jax2tf/converters_eval/converters_eval_main.py:40: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
- jax/_src/lib/mlir/dialects/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/mlir/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:38: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:38: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- jax/_src/lib/__init__.py:48: error: Cannot find implementation or library stub for module named "jaxlib.version"  [import]
+ jaxlib/pocketfft.py:24: error: Cannot find implementation or library stub for module named "flatbuffers"  [import]
+ jaxlib/pocketfft.py:35: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:35: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/lib/__init__.py:97: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jax/_src/lib/__init__.py:112: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:117: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:122: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:127: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:132: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
- jax/_src/lib/__init__.py:101: error: Cannot find implementation or library stub for module named "jaxlib.lapack"  [import]
- jax/_src/lib/__init__.py:102: error: Cannot find implementation or library stub for module named "jaxlib.pocketfft"  [import]
- jax/_src/lib/__init__.py:110: error: Cannot find implementation or library stub for module named "jaxlib.cusolver"  [import]
- jax/_src/lib/__init__.py:115: error: Cannot find implementation or library stub for module named "jaxlib.cusparse"  [import]
- jax/_src/lib/__init__.py:120: error: Cannot find implementation or library stub for module named "jaxlib.rocsolver"  [import]
- jax/_src/lib/__init__.py:125: error: Cannot find implementation or library stub for module named "jaxlib.cuda_prng"  [import]
- jax/_src/lib/__init__.py:130: error: Cannot find implementation or library stub for module named "jaxlib.cuda_linalg"  [import]
- jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:25: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
+ jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:66: error: Argument after ** must be a mapping  [arg-type]
+ jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:70: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "update"  [union-attr]
- jax/experimental/jax2tf/converters_eval/converters.py:24: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
+ jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py:38: error: Cannot find implementation or library stub for module named "utils"  [import]

rclip (https://github.com/yurijmikhalevich/rclip)
- rclip/model.py:3: error: Cannot find implementation or library stub for module named "clip"
- rclip/model.py:4: error: Cannot find implementation or library stub for module named "clip.model"
- rclip/model.py:5: error: Cannot find implementation or library stub for module named "numpy"
- rclip/model.py:6: error: Cannot find implementation or library stub for module named "PIL"
- rclip/model.py:7: error: Cannot find implementation or library stub for module named "rclip"
- rclip/model.py:8: error: Cannot find implementation or library stub for module named "torch"
- rclip/model.py:9: error: Cannot find implementation or library stub for module named "torch.nn"
- rclip/utils.py:4: error: Cannot find implementation or library stub for module named "PIL"
- rclip/utils.py:6: error: Library stubs not installed for "requests" (or incompatible with Python 3.10)
- rclip/utils.py:6: note: Hint: "python3 -m pip install types-requests"
- rclip/utils.py:6: note: (or run "mypy --install-types" to install all missing stub packages)
- rclip/utils.py:9: error: Cannot find implementation or library stub for module named "rclip"
- rclip/utils.py:42: error: Incompatible types in assignment (expression has type "Path", variable has type "Optional[str]")
- rclip/utils.py:45: error: Argument 1 to "makedirs" has incompatible type "Optional[str]"; expected "Union[str, bytes, PathLike[str], PathLike[bytes]]"
- rclip/utils.py:46: error: Incompatible return value type (got "Optional[str]", expected "Path")
+ rclip/db.py: error: Source file found twice under different module names: "db" and "rclip.db"
+ rclip/db.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
- rclip/main.py:12: error: Cannot find implementation or library stub for module named "rclip"
- rclip/main.py:32: error: TypedDict key must be a string literal; expected one of ("modified_at", "size")
- rclip/db.py:70: error: Argument 1 to "update" of "MutableMapping" has incompatible type "NewImage"; expected "SupportsKeysAndGetItem[Any, None]"
- rclip/db.py:70: note: Following member(s) of "NewImage" have conflicts:
- rclip/db.py:70: note:     Expected:
- rclip/db.py:70: note:         def __getitem__(self, Any) -> None
- rclip/db.py:70: note:     Got:
- rclip/db.py:70: note:         def __getitem__(self, str) -> object

tornado (https://github.com/tornadoweb/tornado)
- tornado/test/__main__.py:5: error: Cannot find implementation or library stub for module named "tornado.test.runtests"
- tornado/test/__main__.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tornado/test/options_test.py:10: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/testing_test.py:182: error: "Callable[[], Any]" has no attribute "orig_method"
+ tornado/test/testing_test.py:350: error: Incompatible types in assignment (expression has type "None", variable has type "AbstractEventLoop")
+ tornado/test/tcpserver_test.py:129: error: Item "None" of "Optional[IO[bytes]]" has no attribute "write"
+ tornado/test/tcpserver_test.py:130: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
+ tornado/test/tcpserver_test.py:132: error: Item "None" of "Optional[IO[bytes]]" has no attribute "read"
+ tornado/test/tcpserver_test.py:133: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
- tornado/test/testing_test.py:4: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpserver_test.py:12: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpclient_test.py:27: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/simple_httpclient_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.httpclient_test"
- tornado/test/simple_httpclient_test.py:33: error: Cannot find implementation or library stub for module named "tornado.test"
- tornado/test/simple_httpclient_test.py:41: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/process_test.py:17: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/netutil_test.py:18: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/iostream_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/ioloop_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:738: error: "None" has no attribute "stop"
+ tornado/test/ioloop_test.py:756: error: "None" has no attribute "stop"
+ tornado/test/httpclient_test.py:150: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
- tornado/test/httpserver_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/httpclient_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/gen_test.py:14: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/curl_httpclient_test.py:6: error: Cannot find implementation or library stub for module named "tornado.test"

kornia (https://github.com/kornia/kornia)
+ kornia/utils/_compat.py:3: error: Module "packaging" has no attribute "version"  [attr-defined]

streamlit (https://github.com/streamlit/streamlit)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: At top level:
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:273:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
+ lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: In member "test_namespace_package_unloaded" of class "LocalSourcesWatcherTest":
+ lib/tests/streamlit/watcher/local_sources_watcher_test.py:275:36: error: "MutableSequence[str]" has no attribute "_path"  [attr-defined]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state.strategies"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state"  [import]

freqtrade (https://github.com/freqtrade/freqtrade)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"
+ freqtrade/__init__.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info

manticore (https://github.com/trailofbits/manticore)
- tests/auto_generators/make_dump.py:360: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:362: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:365: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:416: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:418: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:428: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)

github-actions[bot] avatar Feb 09 '22 05:02 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

pandera (https://github.com/pandera-dev/pandera)
+ docs/source/conf.py:114: error: Need type annotation for "exclude_patterns" (hint: "exclude_patterns: List[<type>] = ...")  [var-annotated]

rotki (https://github.com/rotki/rotki)
+ tools/data_faker/data_faker/mock_apis/encoding.py:8: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/encoding.py:17: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:16: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:22: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:27: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:32: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:37: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:62: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:67: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:74: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:44: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:54: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:55: error: Call to untyped function "api_error" in typed context
+ tools/data_faker/data_faker/mock_apis/api.py:58: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:69: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:90: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:110: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:114: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:123: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:126: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:132: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:135: error: Function is missing a type annotation
+ tools/data_faker/data_faker/fake_binance.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:147: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:150: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:168: error: Incompatible types in assignment (expression has type "List[Dict[str, str]]", target has type "int")
+ tools/data_faker/data_faker/fake_binance.py:171: error: Function is missing a type annotation
+ tools/data_faker/data_faker/actions.py:33: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/actions.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/actions.py:161: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/statistics.py:18: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:105: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:119: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:122: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:125: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:134: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/faker.py:68: error: Function is missing a return type annotation

tornado (https://github.com/tornadoweb/tornado)
- tornado/test/__main__.py:5: error: Cannot find implementation or library stub for module named "tornado.test.runtests"
- tornado/test/__main__.py:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tornado/test/options_test.py:10: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/testing_test.py:182: error: "Callable[[], Any]" has no attribute "orig_method"
+ tornado/test/testing_test.py:350: error: Incompatible types in assignment (expression has type "None", variable has type "AbstractEventLoop")
+ tornado/test/tcpserver_test.py:129: error: Item "None" of "Optional[IO[bytes]]" has no attribute "write"
+ tornado/test/tcpserver_test.py:130: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
+ tornado/test/tcpserver_test.py:132: error: Item "None" of "Optional[IO[bytes]]" has no attribute "read"
+ tornado/test/tcpserver_test.py:133: error: Item "None" of "Optional[IO[bytes]]" has no attribute "close"
- tornado/test/testing_test.py:4: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpserver_test.py:12: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/tcpclient_test.py:27: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/simple_httpclient_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.httpclient_test"
- tornado/test/simple_httpclient_test.py:33: error: Cannot find implementation or library stub for module named "tornado.test"
- tornado/test/simple_httpclient_test.py:41: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/process_test.py:17: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/netutil_test.py:18: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/iostream_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/ioloop_test.py:26: error: Cannot find implementation or library stub for module named "tornado.test.util"
+ tornado/test/ioloop_test.py:738: error: "None" has no attribute "stop"
+ tornado/test/ioloop_test.py:756: error: "None" has no attribute "stop"
+ tornado/test/httpclient_test.py:150: error: Incompatible types in assignment (expression has type "bytes", variable has type "str")
- tornado/test/httpserver_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/httpclient_test.py:31: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/gen_test.py:14: error: Cannot find implementation or library stub for module named "tornado.test.util"
- tornado/test/curl_httpclient_test.py:6: error: Cannot find implementation or library stub for module named "tornado.test"

kornia (https://github.com/kornia/kornia)
+ kornia/utils/_compat.py:3: error: Module "packaging" has no attribute "version"  [attr-defined]

rclip (https://github.com/yurijmikhalevich/rclip)
- rclip/model.py:3: error: Cannot find implementation or library stub for module named "clip"
- rclip/model.py:4: error: Cannot find implementation or library stub for module named "clip.model"
- rclip/model.py:5: error: Cannot find implementation or library stub for module named "numpy"
- rclip/model.py:6: error: Cannot find implementation or library stub for module named "PIL"
- rclip/model.py:7: error: Cannot find implementation or library stub for module named "rclip"
- rclip/model.py:8: error: Cannot find implementation or library stub for module named "torch"
- rclip/model.py:9: error: Cannot find implementation or library stub for module named "torch.nn"
- rclip/utils.py:4: error: Cannot find implementation or library stub for module named "PIL"
- rclip/utils.py:6: error: Library stubs not installed for "requests" (or incompatible with Python 3.10)
- rclip/utils.py:6: note: Hint: "python3 -m pip install types-requests"
- rclip/utils.py:6: note: (or run "mypy --install-types" to install all missing stub packages)
- rclip/utils.py:9: error: Cannot find implementation or library stub for module named "rclip"
- rclip/utils.py:42: error: Incompatible types in assignment (expression has type "Path", variable has type "Optional[str]")
- rclip/utils.py:45: error: Argument 1 to "makedirs" has incompatible type "Optional[str]"; expected "Union[str, bytes, PathLike[str], PathLike[bytes]]"
- rclip/utils.py:46: error: Incompatible return value type (got "Optional[str]", expected "Path")
+ rclip/db.py: error: Source file found twice under different module names: "db" and "rclip.db"
+ rclip/db.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
- rclip/main.py:12: error: Cannot find implementation or library stub for module named "rclip"
- rclip/main.py:32: error: TypedDict key must be a string literal; expected one of ("modified_at", "size")
- rclip/db.py:70: error: Argument 1 to "update" of "MutableMapping" has incompatible type "NewImage"; expected "SupportsKeysAndGetItem[Any, None]"
- rclip/db.py:70: note: Following member(s) of "NewImage" have conflicts:
- rclip/db.py:70: note:     Expected:
- rclip/db.py:70: note:         def __getitem__(self, Any) -> None
- rclip/db.py:70: note:     Got:
- rclip/db.py:70: note:         def __getitem__(self, str) -> object

jax (https://github.com/google/jax)
- jax/experimental/jax2tf/converters_eval/converters_eval_main.py:40: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
- jax/_src/lib/mlir/dialects/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/mlir/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:38: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:38: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- jax/_src/lib/__init__.py:48: error: Cannot find implementation or library stub for module named "jaxlib.version"  [import]
+ jaxlib/pocketfft.py:24: error: Cannot find implementation or library stub for module named "flatbuffers"  [import]
+ jaxlib/pocketfft.py:35: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:35: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/lib/__init__.py:97: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ jax/_src/lib/__init__.py:112: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:117: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:122: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:127: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
+ jax/_src/lib/__init__.py:132: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
- jax/_src/lib/__init__.py:101: error: Cannot find implementation or library stub for module named "jaxlib.lapack"  [import]
- jax/_src/lib/__init__.py:102: error: Cannot find implementation or library stub for module named "jaxlib.pocketfft"  [import]
- jax/_src/lib/__init__.py:110: error: Cannot find implementation or library stub for module named "jaxlib.cusolver"  [import]
- jax/_src/lib/__init__.py:115: error: Cannot find implementation or library stub for module named "jaxlib.cusparse"  [import]
- jax/_src/lib/__init__.py:120: error: Cannot find implementation or library stub for module named "jaxlib.rocsolver"  [import]
- jax/_src/lib/__init__.py:125: error: Cannot find implementation or library stub for module named "jaxlib.cuda_prng"  [import]
- jax/_src/lib/__init__.py:130: error: Cannot find implementation or library stub for module named "jaxlib.cuda_linalg"  [import]
- jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:25: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
+ jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:66: error: Argument after ** must be a mapping  [arg-type]
+ jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:70: error: Item "None" of "Optional[Dict[str, Any]]" has no attribute "update"  [union-attr]
- jax/experimental/jax2tf/converters_eval/converters.py:24: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
+ jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py:38: error: Cannot find implementation or library stub for module named "utils"  [import]

manticore (https://github.com/trailofbits/manticore)
- tests/auto_generators/make_dump.py:360: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:362: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:365: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:416: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:418: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
- tests/auto_generators/make_dump.py:428: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)

streamlit (https://github.com/streamlit/streamlit)
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/test_data/nested_module_parent.py:15:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module1"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:27:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:28:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.dummy_module2"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:29:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.misbehaved_module"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:30:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_parent"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:31:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.nested_module_child"  [import]
- lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: At top level:
- lib/tests/streamlit/watcher/local_sources_watcher_test.py:273:1: error: Cannot find implementation or library stub for module named "tests.streamlit.watcher.test_data.namespace_package"  [import]
+ lib/tests/streamlit/watcher/local_sources_watcher_test.py: note: In member "test_namespace_package_unloaded" of class "LocalSourcesWatcherTest":
+ lib/tests/streamlit/watcher/local_sources_watcher_test.py:275:36: error: "MutableSequence[str]" has no attribute "_path"  [attr-defined]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data.root_level_echo"  [import]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/echo_test.py:79:1: error: Cannot find implementation or library stub for module named "tests.streamlit.echo_test_data"  [import]
+ lib/tests/streamlit/components_test.py:74:1: error: Cannot find implementation or library stub for module named "component_test_data"  [import]
+ lib/tests/streamlit/components_test.py:82:1: error: Cannot find implementation or library stub for module named "component_test_data.outer_module"  [import]
+ lib/tests/streamlit/components_test.py:90:1: error: Cannot find implementation or library stub for module named "component_test_data.nested.inner_module"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state.strategies"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit"  [import]
- lib/tests/streamlit/state/session_state_test.py:41:1: error: Cannot find implementation or library stub for module named "tests.streamlit.state"  [import]

freqtrade (https://github.com/freqtrade/freqtrade)
+ freqtrade/__init__.py: error: Source file found twice under different module names: "freqtrade" and "freqtrade.__init__"
+ freqtrade/__init__.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info

github-actions[bot] avatar Feb 09 '22 06:02 github-actions[bot]

Diff from mypy_primer, showing the effect of this PR on open source code:

pandera (https://github.com/pandera-dev/pandera)
+ docs/source/conf.py:108: error: Need type annotation for "exclude_patterns" (hint: "exclude_patterns: List[<type>] = ...")  [var-annotated]

rotki (https://github.com/rotki/rotki)
+ tools/data_faker/data_faker/mock_apis/encoding.py:8: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/encoding.py:17: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:16: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:22: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:27: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:32: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:37: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:62: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:67: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/resources.py:74: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:43: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:53: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:54: error: Call to untyped function "api_error" in typed context
+ tools/data_faker/data_faker/mock_apis/api.py:57: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:68: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:87: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:107: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/mock_apis/api.py:111: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:114: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:120: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:123: error: Function is missing a type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:126: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/mock_apis/api.py:132: error: Function is missing a type annotation
+ tools/data_faker/data_faker/statistics.py:18: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:117: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:147: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:150: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_binance.py:168: error: Incompatible types in assignment (expression has type "List[Dict[str, str]]", target has type "int")
+ tools/data_faker/data_faker/fake_binance.py:171: error: Function is missing a type annotation
+ tools/data_faker/data_faker/actions.py:33: error: Function is missing a type annotation for one or more arguments
+ tools/data_faker/data_faker/actions.py:122: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/actions.py:163: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:105: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:119: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:122: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:125: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:129: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/fake_kraken.py:134: error: Function is missing a return type annotation
+ tools/data_faker/data_faker/faker.py:68: error: Function is missing a return type annotation
- rotkehlchen/api/v1/resources.py:1308: error: Untyped decorator makes function "put" untyped
- rotkehlchen/api/v1/resources.py:1323: error: Untyped decorator makes function "delete" untyped
- rotkehlchen/api/v1/resources.py:1327: error: Untyped decorator makes function "patch" untyped
- rotkehlchen/api/v1/resources.py:1339: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1348: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1357: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1365: error: Untyped decorator makes function "delete" untyped
- rotkehlchen/api/v1/resources.py:1386: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1395: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1404: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1413: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1422: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1431: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1451: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1460: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1480: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1489: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1509: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1518: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1527: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1547: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1567: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1576: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1596: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1616: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1625: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1645: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1665: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1674: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1683: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1703: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1723: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1732: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1741: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1750: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1770: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1795: error: Untyped decorator makes function "put" untyped
- rotkehlchen/api/v1/resources.py:1799: error: Untyped decorator makes function "patch" untyped
- rotkehlchen/api/v1/resources.py:1803: error: Untyped decorator makes function "delete" untyped
- rotkehlchen/api/v1/resources.py:1814: error: Untyped decorator makes function "get" untyped
- rotkehlchen/api/v1/resources.py:1825: error: Untyped decorator makes function "put" untyped
- rotkehlchen/api/v1/resources.py:1829: error: Untyped decorator makes function "post" untyped
- rotkehlchen/api/v1/resources.py:1839: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ rotkehlchen/api/v1/resources.py:1308: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)

kornia (https://github.com/kornia/kornia)
+ kornia/utils/_compat.py:6: error: Module "packaging" has no attribute "version"  [attr-defined]

rclip (https://github.com/yurijmikhalevich/rclip)
- rclip/model.py:3: error: Cannot find implementation or library stub for module named "clip"
- rclip/model.py:4: error: Cannot find implementation or library stub for module named "clip.model"
- rclip/model.py:5: error: Cannot find implementation or library stub for module named "numpy"
- rclip/model.py:6: error: Cannot find implementation or library stub for module named "PIL"
- rclip/model.py:7: error: Cannot find implementation or library stub for module named "rclip"
- rclip/model.py:8: error: Cannot find implementation or library stub for module named "torch"
- rclip/model.py:9: error: Cannot find implementation or library stub for module named "torch.nn"
- rclip/db.py:70: error: Argument 1 to "update" of "MutableMapping" has incompatible type "NewImage"; expected "SupportsKeysAndGetItem[str, None]"
- rclip/db.py:70: note: Following member(s) of "NewImage" have conflicts:
- rclip/db.py:70: note:     Expected:
- rclip/db.py:70: note:         def __getitem__(self, str) -> None
- rclip/db.py:70: note:     Got:
- rclip/db.py:70: note:         def __getitem__(self, str) -> object
- rclip/utils.py:4: error: Cannot find implementation or library stub for module named "PIL"
- rclip/utils.py:6: error: Library stubs not installed for "requests" (or incompatible with Python 3.10)
- rclip/utils.py:6: note: Hint: "python3 -m pip install types-requests"
- rclip/utils.py:6: note: (or run "mypy --install-types" to install all missing stub packages)
- rclip/utils.py:9: error: Cannot find implementation or library stub for module named "rclip"
- rclip/utils.py:42: error: Incompatible types in assignment (expression has type "Path", variable has type "Optional[str]")
- rclip/utils.py:45: error: Argument 1 to "makedirs" has incompatible type "Optional[str]"; expected "Union[str, bytes, PathLike[str], PathLike[bytes]]"
- rclip/utils.py:46: error: Incompatible return value type (got "Optional[str]", expected "Path")
- rclip/main.py:8: error: Cannot find implementation or library stub for module named "tqdm"
- rclip/main.py:12: error: Cannot find implementation or library stub for module named "rclip"
- rclip/main.py:32: error: TypedDict key must be a string literal; expected one of ("modified_at", "size")
+ rclip/db.py: error: Source file found twice under different module names: "db" and "rclip.db"
+ rclip/db.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
+ rclip/db.py: note: Common resolutions include: a) adding `__init__.py` somewhere, b) using `--explicit-package-bases` or adjusting MYPYPATH

jax (https://github.com/google/jax)
- jax/experimental/jax2tf/converters_eval/converters_eval_main.py:40: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
- jax/_src/lib/mlir/dialects/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/mlir/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:53: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
+ jaxlib/pocketfft.py:29: error: Cannot find implementation or library stub for module named "flatbuffers"  [import]
+ jaxlib/pocketfft.py:40: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:40: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jaxlib/pocketfft.py:143: error: Variable "jaxlib.pocketfft.FftType" is not valid as a type  [valid-type]
+ jaxlib/pocketfft.py:143: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/_src/lib/__init__.py:53: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- jax/_src/lib/__init__.py:63: error: Cannot find implementation or library stub for module named "jaxlib.version"  [import]
- jax/_src/lib/__init__.py:116: error: Cannot find implementation or library stub for module named "jaxlib.lapack"  [import]
- jax/_src/lib/__init__.py:117: error: Cannot find implementation or library stub for module named "jaxlib.pocketfft"  [import]
- jax/_src/lib/__init__.py:138: error: Cannot find implementation or library stub for module named "jaxlib.gpu_solver"  [import]
- jax/_src/lib/__init__.py:153: error: Cannot find implementation or library stub for module named "jaxlib.gpu_sparse"  [import]
- jax/_src/lib/__init__.py:171: error: Cannot find implementation or library stub for module named "jaxlib.gpu_prng"  [import]
- jax/_src/lib/__init__.py:186: error: Cannot find implementation or library stub for module named "jaxlib.gpu_linalg"  [import]
+ jax/_src/lib/__init__.py:112: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- jax/_src/api_util.py:91: error: Variable "jax._src.tree_util.PyTreeDef" is not valid as a type  [valid-type]
- jax/_src/api_util.py:91: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/dispatch.py:572: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/dispatch.py:603: error: Variable "jax._src.dispatch.Device" is not valid as a type  [valid-type]
+ jax/_src/dispatch.py:603: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ jax/_src/dispatch.py:610: error: Variable "jax._src.dispatch.Device" is not valid as a type  [valid-type]
+ jax/_src/dispatch.py:610: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/_src/dispatch.py:572: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
+ jax/_src/dispatch.py:619: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- jax/experimental/jax2tf/converters_eval/converters_eval_lib.py:25: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
- jax/experimental/jax2tf/converters_eval/converters.py:24: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
+ jax/experimental/jax2tf/examples/tf_js/quickdraw/quickdraw.py:38: error: Cannot find implementation or library stub for module named "utils"  [import]

discord.py (https://github.com/Rapptz/discord.py)
+ discord/mentions.py:101: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/mentions.py:101: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/mentions.py:109: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/mentions.py:109: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/mentions.py:126: error: Item "bool" of "Union[bool, List[Snowflake]]" has no attribute "__iter__" (not iterable)
+ discord/mentions.py:131: error: Item "bool" of "Union[bool, List[Snowflake]]" has no attribute "__iter__" (not iterable)
+ discord/mentions.py:134: error: Incompatible types in assignment (expression has type "bool", target has type "List[Union[Any, int]]")
+ discord/mentions.py:136: error: Incompatible types in assignment (expression has type "List[str]", target has type "List[Union[Any, int]]")
+ discord/ext/commands/_types.py:40: error: The first argument to Callable must be a list of types, parameter specification, or "..."
+ discord/ext/commands/_types.py:40: note: See https://mypy.readthedocs.io/en/stable/kinds_of_types.html#callable-types-and-lambdas
+ discord/opus.py:377: error: Value of type variable "_T" of "array" cannot be "bytes"
+ discord/ext/commands/view.py:127: error: Attribute "previous" already defined on line 59
+ discord/ext/commands/view.py:132: error: Missing return statement
+ discord/ext/commands/view.py:144: error: Incompatible types in assignment (expression has type "Set[str]", variable has type "Tuple[str, Optional[str]]")
+ discord/ext/commands/view.py:151: error: Argument 1 to "ExpectedClosingQuoteError" has incompatible type "Optional[str]"; expected "str"
+ discord/ext/commands/view.py:162: error: Argument 1 to "ExpectedClosingQuoteError" has incompatible type "Optional[str]"; expected "str"
+ discord/utils.py:212: error: Signature of "__getitem__" incompatible with supertype "Sequence"
+ discord/utils.py:212: note:      Superclass:
+ discord/utils.py:212: note:          @overload
+ discord/utils.py:212: note:          def __getitem__(self, int) -> T_co
+ discord/utils.py:212: note:          @overload
+ discord/utils.py:212: note:          def __getitem__(self, slice) -> Sequence[T_co]
+ discord/utils.py:212: note:      Subclass:
+ discord/utils.py:212: note:          def __getitem__(self, int) -> T_co
+ discord/utils.py:619: error: Bad number of arguments for type alias, expected: 0, given: 2
+ discord/utils.py:619: error: Invalid location for ParamSpec "P"
+ discord/utils.py:619: note: You can use ParamSpec as the first argument to Callable, e.g., 'Callable[P, int]'
+ discord/utils.py:629: error: Argument 1 has incompatible type "Awaitable[T]"; expected "T"
+ discord/utils.py:630: error: Incompatible types in assignment (expression has type "T", variable has type "Awaitable[T]")
+ discord/utils.py:722: error: "__new__" must return a class instance (got Self?)
+ discord/utils.py:722: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/utils.py:722: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/utils.py:1009: error: "object" has no attribute "__args__"
+ discord/stage_instance.py:169: error: Incompatible types in assignment (expression has type "int", target has type "str")
+ discord/raw_models.py:102: error: Attribute "guild_id" already defined on line 100
+ discord/raw_models.py:130: error: Attribute "guild_id" already defined on line 128
+ discord/raw_models.py:167: error: Attribute "guild_id" already defined on line 165
+ discord/raw_models.py:212: error: Attribute "guild_id" already defined on line 210
+ discord/raw_models.py:237: error: Attribute "guild_id" already defined on line 235
+ discord/raw_models.py:267: error: Attribute "guild_id" already defined on line 265
+ discord/raw_models.py:294: error: Attribute "application_id" already defined on line 292
+ discord/player.py:280: error: Argument 1 to "append" of "list" has incompatible type "Union[str, BufferedIOBase]"; expected "str"
+ discord/player.py:380: error: Argument 1 to "append" of "list" has incompatible type "Union[str, BufferedIOBase]"; expected "str"
+ discord/player.py:410: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/player.py:410: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/player.py:525: error: "None" not callable
+ discord/player.py:533: error: "None" not callable
+ discord/player.py:533: error: Argument 2 to "_probe_codec_fallback" of "FFmpegOpusAudio" has incompatible type "Optional[str]"; expected "str"
+ discord/player.py:732: error: Attribute "loops" already defined on line 661
+ discord/player.py:733: error: Attribute "_start" already defined on line 662
+ discord/file.py:106: error: Cannot assign to a method
+ discord/file.py:146: error: Cannot assign to a method
+ discord/embeds.py:170: error: Incompatible types in assignment (expression has type "Union[int, Colour, None]", variable has type "Optional[Colour]")
+ discord/embeds.py:189: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:189: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:245: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:245: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:316: error: Incompatible types in assignment (expression has type "None", variable has type "datetime")
+ discord/embeds.py:331: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:331: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:354: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:354: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:385: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:385: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:399: error: Cannot determine type of "_image"
+ discord/embeds.py:425: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:425: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:442: error: Cannot determine type of "_thumbnail"
+ discord/embeds.py:489: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:489: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:517: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:517: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:543: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:543: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:566: error: Cannot determine type of "_fields"
+ discord/embeds.py:572: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:572: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:605: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:605: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:621: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:621: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/embeds.py:650: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/embeds.py:650: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/app_commands/models.py:174: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
+ discord/app_commands/models.py:181: error: No overload variant of "int" matches argument type "object"
+ discord/app_commands/models.py:181: note: Possible overload variants:
+ discord/app_commands/models.py:181: note:     def __new__(cls, Union[str, bytes, array[Any], mmap, _CData, PickleBuffer, SupportsInt, SupportsIndex, SupportsTrunc] = ...) -> int
+ discord/app_commands/models.py:181: note:     def __new__(cls, Union[str, bytes], base: SupportsIndex) -> int
+ discord/app_commands/models.py:188: error: Incompatible types in assignment (expression has type "object", variable has type "bool")
+ discord/app_commands/models.py:189: error: Incompatible types in assignment (expression has type "object", variable has type "bool")
+ discord/app_commands/models.py:303: error: Incompatible types in assignment (expression has type "int", target has type "str")
+ discord/app_commands/models.py:305: error: Incompatible types in assignment (expression has type "None", target has type "str")
+ discord/app_commands/models.py:308: error: Incompatible types in assignment (expression has type "bool", target has type "str")
+ discord/app_commands/models.py:311: error: Incompatible types in assignment (expression has type "List[Union[_SubCommandGroupCommandOption, _SubCommandCommandOption, _StringApplicationCommandOption, _IntegerApplicationCommandOption, _BooleanApplicationCommandOption, _ChannelApplicationCommandOptionChoice, _NonChannelSnowflakeApplicationCommandOptionChoice, _NumberApplicationCommandOption]]", target has type "str")
+ discord/app_commands/models.py:388: error: Type of TypedDict is ambiguous, could be any of ("_StringApplicationCommandOptionChoice", "_IntegerApplicationCommandOptionChoice", "_NumberApplicationCommandOptionChoice")
+ discord/app_commands/models.py:388: error: Incompatible return value type (got "Dict[str, str]", expected "Union[_StringApplicationCommandOptionChoice, _IntegerApplicationCommandOptionChoice, _NumberApplicationCommandOptionChoice]")
+ discord/app_commands/models.py:388: error: Incompatible return value type (got "Dict[str, object]", expected "Union[_StringApplicationCommandOptionChoice, _IntegerApplicationCommandOptionChoice, _NumberApplicationCommandOptionChoice]")
+ discord/app_commands/models.py:388: error: Incompatible return value type (got "Dict[str, Union[str, float]]", expected "Union[_StringApplicationCommandOptionChoice, _IntegerApplicationCommandOptionChoice, _NumberApplicationCommandOptionChoice]")
+ discord/app_commands/models.py:722: error: Incompatible types in assignment (expression has type "object", variable has type "bool")
+ discord/app_commands/models.py:724: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
+ discord/app_commands/models.py:786: error: Incompatible types in assignment (expression has type "object", variable has type "bool")
+ discord/app_commands/models.py:788: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
+ discord/app_commands/models.py:792: error: "object" has no attribute "__iter__"; maybe "__str__" or "__dir__"? (not iterable)
+ discord/asset.py:218: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:218: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:227: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:227: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:238: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:238: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:249: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:249: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:258: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:258: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:267: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:267: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:276: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:276: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:287: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:287: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:298: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:298: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:307: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:307: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:334: error: Signature of "url" incompatible with supertype "AssetMixin"
+ discord/asset.py:353: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:353: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:405: error: Incompatible types in assignment (expression has type "str", variable has type "URL")
+ discord/asset.py:406: error: Argument "url" to "Asset" has incompatible type "URL"; expected "str"
+ discord/asset.py:408: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:408: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ discord/asset.py:436: error: Variable "typing_extensions.Self" is not valid as a type
+ discord/asset.py:436: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-v

... (truncated 147189 chars) ...

github-actions[bot] avatar May 27 '22 00:05 github-actions[bot]