Closed rosstitmarsh closed 10 months ago
Ruff currently defaults to linting code as if it was Python 3.8, hence the tomllib import being moved in commit 7edb31c.
It can be specified with requires-python = ">= 3.12" in the [project] section of pyproject.toml, but since you are not using that section I used the Ruff specific option.
requires-python = ">= 3.12"
[project]
Ruff currently defaults to linting code as if it was Python 3.8, hence the tomllib import being moved in commit 7edb31c.
It can be specified with
requires-python = ">= 3.12"
in the[project]
section of pyproject.toml, but since you are not using that section I used the Ruff specific option.