Use requires-python in pyproject.toml to specify python requirement

This commit is contained in:
Kovid Goyal
2024-03-29 13:23:09 +05:30
parent 4fe65f75bc
commit c72963dfc5
2 changed files with 20 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
[project]
requires-python = ">=3.8"
[tool.mypy]
files = 'kitty,kittens,glfw,*.py,docs/conf.py,gen'
no_implicit_optional = true
@@ -23,7 +26,6 @@ report_progress = true
[tool.ruff]
line-length = 160
target-version = 'py38'
select = ['E', 'F', 'I', 'RUF100']
[tool.ruff.per-file-ignores]