-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
93 lines (83 loc) · 1.74 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
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
[project]
name = "kirin-toolchain"
version = "0.13.0"
description = "The Kirin Toolchain for building compilers and interpreters."
authors = [{ name = "Roger-luo", email = "[email protected]" }]
dependencies = [
"rich>=13.7.1",
"beartype>=0.17.2",
"typing_extensions>=4.11.0",
]
readme = "README.md"
requires-python = ">= 3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/kirin"]
[tool.isort]
profile = "black"
combine_as_imports = true
multi_line_output = 3
length_sort = true
src_paths = ["src/kirin"]
[tool.black]
line-length = 88
[tool.ruff]
target-version = "py312"
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.lint]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.coverage.run]
include = ["src/kirin/*"]
[tool.uv]
dev-dependencies = [
"black>=24.10.0",
"coverage>=7.6.4",
"ipykernel>=6.29.5",
"ipython>=8.29.0",
"isort>=5.13.2",
"mypy>=1.13.0",
"numpy>=1.25.0",
"pre-commit>=4.0.1",
"pyright>=1.1.388",
"pytest>=8.3.3",
"ruff>=0.7.3",
"rust-just>=1.36.0",
"tomlkit>=0.13.2",
]
[dependency-groups]
doc = [
"griffe-kirin>=0.1.0",
"griffe-inherited-docstrings>=1.1.1",
"mike>=2.1.3",
"mkdocs>=1.6.1",
"mkdocs-gen-files>=0.5.0",
"mkdocs-literate-nav>=0.6.1",
"mkdocs-material>=9.5.44",
"mkdocs-minify-plugin>=0.8.0",
"mkdocstrings[python]>=0.27.0",
]