mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-05 07:12:00 +00:00
37 lines
635 B
TOML
37 lines
635 B
TOML
[project]
|
|
requires-python = ">=3.12"
|
|
license = "GPL-3.0-only"
|
|
|
|
[build-system]
|
|
requires = [
|
|
# Needed for installing pure python packages at build time
|
|
"installer == 0.7.0",
|
|
# Needed for some weird reason for glib
|
|
"packaging == 23.1",
|
|
]
|
|
|
|
[tool.ty.src]
|
|
include = [
|
|
"kitty",
|
|
"kittens",
|
|
"glfw",
|
|
"*.py",
|
|
"docs/conf.py",
|
|
"gen"
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 160
|
|
|
|
[tool.ruff.lint]
|
|
select = ['E', 'F', 'I', 'RUF100']
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"kitty/options/types.py" = ["E501"]
|
|
"kitty/options/parse.py" = ["E501"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
detect-same-package = true
|
|
|
|
[tool.ruff.format]
|
|
quote-style = 'single'
|