vscode-python: mypy errors don't show up in problems view nor in editor

VS Code version

1.62.2

Extension version

v2021.11.1422169775

OS type

Linux

OS version

20.04 LTS

Python distribution

python.org

Python version

3.9

Language server

Pylance

Expected behaviour

Show mypy errors in problems and in editor

Actual behaviour

They only show up in the Python/Output view:

##########Linting Output - mypy##########
downloader.py:9:1: error: Function is missing a return type annotation
downloader.py:9:1: error: Function is missing a type annotation for one or more arguments
Found 2 errors in 1 file (checked 1 source file)

Steps to reproduce

Create a python file a function that does not have a return type, hit safe.

Logs

see above

Code of Conduct

  • I agree to follow this project’s Code of Conduct

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 15

Most upvoted comments

@diegovalenzuelaiturra does it work for you?

It’s running fine. Expected output, it doesn’t fail, but correctly shows the problems in my code.