Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Require mandatory "--python-version" settings in mypy setup #217

Closed
@DonJayamanne

Description

@DonJayamanne

From @sametmax on November 9, 2017 7:21

Environment data

VS Code version: 1.17.2
Python Extension version: latest to this date
Python Version: any
OS and version:

Actual behavior

Mypy checks the code against the version of Python it's installed in.

Expected behavior

My checks the code against the version of Python the code is written in.

More details here: python/mypy#4222 (comment)

Steps to reproduce:

  • Install mypy with "python3.5 -m pip install"
  • Setup and use vscode with mypy normally

Logs

Output from Python output panel

Output from Console window (Help->Developer Tools menu)

Copied from original issue: DonJayamanne/pythonVSCode#1376

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions