-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (111 loc) · 2.03 KB
/
pyproject.toml
File metadata and controls
120 lines (111 loc) · 2.03 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "waxy"
version = "0.5.0"
description = "A Python wrapper around the Rust taffy UI layout library"
requires-python = ">=3.13"
license = "MIT"
readme = "README.md"
authors = [{ name = "Josh Karpel", email = "josh.karpel@gmail.com" }]
keywords = ["layout", "taffy", "ui"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Rust",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://joshkarpel.github.io/waxy"
Repository = "https://github.com/JoshKarpel/waxy"
Issues = "https://github.com/JoshKarpel/waxy/issues"
[tool.maturin]
features = ["pyo3/extension-module"]
python-source = "python"
module-name = "waxy._waxy"
[tool.ruff]
line-length = 100
fix = true
src = ["python", "tests"]
[tool.ruff.lint]
select = [
"A",
"ANN",
"ASYNC",
"B",
"C4",
"D200",
"D201",
"D202",
"D204",
"D205",
"D206",
"D207",
"D208",
"D209",
"D210",
"D211",
"D213",
"D400",
"D419",
"DTZ",
"E",
"EM",
"EXE",
"F",
"FA",
"FLY",
"I",
"ISC",
"LOG",
"NPY",
"PERF",
"PGH",
"PIE",
"PLC",
"PLE",
"PLR",
"PLW",
"PT",
"PTH",
"Q",
"FURB",
"RET",
"RSE",
"RUF",
"SIM",
"SLOT",
"UP",
"W",
"YTT",
]
ignore = [
"A002", # builtin shadowing
"PLR2004", # magic constants
]
[tool.mypy]
strict = true
files = ["python", "tests"]
[tool.pytest]
testpaths = ["tests"]
addopts = [
"-n", "auto",
"--dist", "worksteal",
]
[dependency-groups]
dev = [
"maturin>=1.12.0",
"mkdocs>=1.6.0",
"mkdocs-material>=9.6.0",
"mkdocstrings[python]>=0.27.0",
"mypy>=1.19.1",
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-randomly>=4.0.1",
"pytest-xdist>=3.8.0",
"ruff>=0.15.1",
]