You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of findings are nonsense but there might be some valid ones or ones I can set to be ignored:
C:\dev\AREPL-backend>mypy python
python\overloads.py:52: error: Item "None" of "Optional[FrameType]" has no attribute "f_back"
python\overloads.py:53: error: Item "None" of "Union[FrameType, None, Any]" has no attribute "f_globals"
python\overloads.py:62: error: Argument 1 to "next" has incompatible type "Optional[Iterator[Any]]"; expected "Iterator[Any]"
python\overloads.py:79: error: Name 'howdoi' is not defined
python\overloads.py:86: error: Name 'howdoi' is not defined
python\stdlib_list\fetch.py:4: error: Cannot find implementation or library stub for module named 'sphinx.ext.intersphinx'
python\examples.py:71: error: Skipping analyzing 'pandas': found module but no type hints or library stubs
python\examples.py:112: error: Name 'raw_input' is not defined
python\examples.py:160: error: Skipping analyzing 'numpy': found module but no type hints or library stubs
python\examples.py:161: error: Cannot find implementation or library stub for module named 'matplotlib.pyplot'
python\examples.py:161: error: Cannot find implementation or library stub for module named 'matplotlib'
python\examples.py:253: error: Incompatible types in assignment (expression has type "TextIO", variable has type "Callable[[Any], Any]")
python\examples.py:254: error: Argument 1 to "writer" has incompatible type "Callable[[Any], Any]"; expected "_Writer"
python\examples.py:262: error: Incompatible types in assignment (expression has type "TextIO", variable has type "Callable[[Any], Any]")
python\examples.py:263: error: Argument 1 to "reader" has incompatible type "Callable[[Any], Any]"; expected "Iterable[str]"
python\examples.py:314: error: Incompatible types in assignment (expression has type "int", variable has type "str")
python\examples.py:334: error: Incompatible types in assignment (expression has type "str", variable has type "Callable[[Any], Any]")
python\examples.py:335: error: Need type annotation for 'g' (hint: "g: Dict[<type>, <type>] = ...")
python\examples.py:336: error: Need type annotation for 'h' (hint: "h: List[<type>] = ...")
python\examples.py:337: error: Incompatible types in assignment (expression has type "List[List[List[<nothing>]]]", variable has type "int")
python\examples.py:346: error: Incompatible types in assignment (expression has type "TextIO", variable has type "Callable[[Any], Any]")
python\examples.py:366: error: Item "None" of "Optional[Match[str]]" has no attribute "groupdict"
python\examples.py:367: error: Item "None" of "Optional[Match[str]]" has no attribute "span"
python\custom_handlers.py:90: error: Dict entry 0 has incompatible type "str": "Type[date]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:90: error: Dict entry 1 has incompatible type "str": "Type[DatetimeHandler]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:91: error: Dict entry 0 has incompatible type "str": "Type[time]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:91: error: Dict entry 1 has incompatible type "str": "Type[DatetimeHandler]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:92: error: Dict entry 0 has incompatible type "str": "Type[datetime]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:92: error: Dict entry 1 has incompatible type "str": "Type[DatetimeHandler]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:94: error: Dict entry 0 has incompatible type "str": "Type[FrameType]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:94: error: Dict entry 1 has incompatible type "str": "Type[FrameHandler]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:95: error: Dict entry 0 has incompatible type "str": "Type[CodeType]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:95: error: Dict entry 1 has incompatible type "str": "Type[CodeHandler]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:96: error: Dict entry 0 has incompatible type "str": "Type[Decimal]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:96: error: Dict entry 1 has incompatible type "str": "Type[DecimalHandler]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:97: error: Dict entry 0 has incompatible type "str": "Type[GeneratorType]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\custom_handlers.py:97: error: Dict entry 1 has incompatible type "str": "Type[GeneratorHandler]"; expected "str": "Union[Type[RegexMatchHandler], Type[Match[str]], Type[None]]"
python\jsonpickle\ext\numpy.py:8: error: Skipping analyzing 'numpy': found module but no type hints or library stubs
python\jsonpickle\ext\numpy.py:8: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
python\jsonpickle\ext\pandas.py:3: error: Skipping analyzing 'pandas': found module but no type hints or library stubs
python\pickler.py:56: error: Cannot assign to a type
python\user_error.py:16: error: Incompatible types in assignment (expression has type "Optional[TracebackType]", variable has type "TracebackType")
python\saved.py:46: error: Argument 1 to "UserError" has incompatible type "Optional[BaseException]"; expected "BaseException"
python\saved.py:46: error: Argument 2 to "UserError" has incompatible type "Optional[TracebackType]"; expected "TracebackType"
python\saved.py:90: error: Incompatible types in assignment (expression has type "str", variable has type "List[str]")
python\saved.py:91: error: Incompatible return value type (got "List[str]", expected "str")
python\saved.py:105: error: Argument 1 to "UserError" has incompatible type "Optional[BaseException]"; expected "BaseException"
python\saved.py:105: error: Argument 2 to "UserError" has incompatible type "Optional[TracebackType]"; expected "TracebackType"
python\python_evaluator.py:24: error: Cannot find implementation or library stub for module named 'howdoi'
python\python_evaluator.py:71: error: Argument 2 to "ReturnInfo" has incompatible type "str"; expected "Dict[Any, Any]"
python\python_evaluator.py:71: error: Argument 3 to "ReturnInfo" has incompatible type "None"; expected "float"
python\python_evaluator.py:71: error: Argument 4 to "ReturnInfo" has incompatible type "None"; expected "float"
python\python_evaluator.py:160: error: Argument 1 to "UserError" has incompatible type "Optional[BaseException]"; expected "BaseException"
python\python_evaluator.py:160: error: Argument 2 to "UserError" has incompatible type "Optional[TracebackType]"; expected "TracebackType"
python\python_evaluator.py:162: error: Argument 1 to "UserError" has incompatible type "Optional[BaseException]"; expected "BaseException"
python\python_evaluator.py:162: error: Argument 2 to "UserError" has incompatible type "Optional[TracebackType]"; expected "TracebackType"
python\python_evaluator.py:206: error: Argument 4 to "ReturnInfo" has incompatible type "None"; expected "float"
python\python_evaluator.py:223: error: Argument 2 to "ReturnInfo" has incompatible type "str"; expected "Dict[Any, Any]"
python\python_evaluator.py:223: error: Argument 3 to "ReturnInfo" has incompatible type "None"; expected "float"
python\python_evaluator.py:223: error: Argument 4 to "ReturnInfo" has incompatible type "None"; expected "float"
python\python_evaluator.py:231: error: "ReturnInfo" has no attribute "userErrorMsg"; maybe "userError"?
python\test_python_evaluator.py:5: error: Skipping analyzing 'pytest': found module but no type hints or library stubs
python\arepl_dump.py:9: error: Need type annotation for 'context' (hint: "context: Dict[<type>, <type>] = ...")
python\arepl_dump.py:19: error: Item "None" of "Optional[FrameType]" has no attribute "f_back"
python\arepl_dump.py:21: error: Item "None" of "Union[FrameType, None, Any]" has no attribute "f_code"
python\arepl_dump.py:22: error: Item "None" of "Union[FrameType, None, Any]" has no attribute "f_lineno"
python\arepl_dump.py:23: error: Item "None" of "Union[FrameType, None, Any]" has no attribute "f_code"
python\arepl_dump.py:35: error: Unsupported right operand type for in ("int")
python\arepl_dump.py:37: error: Item "None" of "Union[FrameType, None, Any]" has no attribute "f_locals"
python\arepl_dump.py:45: error: Argument 3 to "ReturnInfo" has incompatible type "None"; expected "float"
python\test_arepl_dump.py:1: error: Skipping analyzing 'pytest': found module but no type hints or library stubs
Found 70 errors in 13 files (checked 31 source files)
The text was updated successfully, but these errors were encountered:
A lot of findings are nonsense but there might be some valid ones or ones I can set to be ignored:
The text was updated successfully, but these errors were encountered: