Skip to content

Set python version for mypy #522

@hombit

Description

@hombit

It looks like mypy started to check everything assuming the interpreter python version, not the project python version. Could we please add this block to pyproject.toml:

[tool.mypy]
python_version = "{min_python_version}"

where min_python_version is e.g. 3.10.

It was tested with nested-pandas:
lincc-frameworks/nested-pandas#303

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions