Skip to content

Docs for --python-version are wrong #4620

Closed
@gvanrossum

Description

@gvanrossum

The docs for --python-version and the corresponding config option (python_version) state that they default to the Python version used to run mypy. This is not true and has never been true -- the default is fixed and taken from defaults.PYTHON3_VERSION.

In the discussion about the PEP 561 implementation I've talked myself into believing that we should do what the docs state rather than what we currently implement.

@JukkaL Before we go ahead with this change I'd like your opinion, please.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions