-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
87 lines (78 loc) · 1.41 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
[build-system]
requires = [
"setuptools",
]
build-backend = "setuptools.build_meta"
[project]
name = "sah_kd_tree"
version = "0.1.0"
requires-python = ">=3.14"
authors = [
{ name="Tomilov Anatoliy", email="tomilovanatoliy@gmail.com" },
]
description = "SAH kd-tree O(N*log(N)) build algorithm for triangles"
readme = "README.md"
dependencies = [
"jinja2",
"termcolor",
"vulkan-object",
]
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"pytest",
"clang-format",
"pre-commit",
]
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
codegen = "codegen.generator:main"
[tool.ruff]
src = [
"src",
]
include = [
"pyproject.toml",
"src/codegen/generator.py",
]
target-version = "py314"
[tool.ruff.lint]
select = [
"ALL",
]
ignore = [
"S101",
"COM812",
"TRY003",
"D",
"BLE001",
"EM101",
"ANN204",
"T201",
"EM102",
"FBT003",
"FBT001",
"FIX002",
"TD003",
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
python_version = "3.14"
strict = true
disallow_untyped_defs = true
disallow_untyped_calls = true
warn_unreachable = true
warn_unused_configs = true
warn_return_any = true
mypy_path = "external/SPIRV-Headers/include"
[[tool.mypy.overrides]]
module = "vulkan_object"
ignore_missing_imports = true