-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (56 loc) · 1.4 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tool.poetry]
name = "kolla"
version = "0.5.2"
description = "Reactive user interfaces"
authors = ["Berend Klein Haneveld <[email protected]>", "Korijn van Golen <[email protected]>"]
license = "MIT"
homepage = "https://github.com/fork-tongue/kolla"
readme = "README.md"
[tool.poetry.extras]
pygfx = ["pygfx"]
pyside = ["pyside6"]
[tool.poetry.dependencies]
python = ">=3.9"
observ = ">=0.14.1"
pygfx = { version = ">=0.1.17", optional = true }
pyside6 = { version = "^6.6", python = "<3.13", optional = true }
# TODO: add entry_point to be able to run kolla as module and render .cgx files directly
# python -m kolla path/to/example.cgx
[tool.poetry.group.dev.dependencies]
black = "*" # Only for debugging generated code, ruff is used for formatting
mypy = "*"
pre-commit = "*"
pytest = "*"
pytest-cov = "*"
pytest-qt = "*"
pytest-random-order = "*"
pytest-xvfb = "*"
rich = {version = "*", python = "<4.0"}
ruff = "*"
[tool.coverage.run]
omit = [
"tests/*",
"kolla/renderers/*"
]
[tool.ruff.lint]
select = [
"E4",
"E5",
"E7",
"E9",
"F", # Pyflakes (default)
"I", # isort imports
"N", # pep8-naming
"T10", # flake8-debugger
"T20", # flake8-print
"RUF", # ruff
]
unfixable = [
"F401", # Unused import
"F841", # Unused variable
]
[tool.ruff.per-file-ignores]
"tests/*" = ["N806"]
[build-system]
requires = ["poetry>=1.0.0"]
build-backend = "poetry.masonry.api"