-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (87 loc) · 1.83 KB
/
pyproject.toml
File metadata and controls
100 lines (87 loc) · 1.83 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
[project]
name = "bloqade-geometry"
version = "0.6.0-dev"
description = "Components for defining and manipulating geometric objects in Bloqade for neutral atom quantum computing."
readme = "README.md"
authors = [
{ name = "Phillip Weinberg", email = "pweinberg@quera.com" }
]
dependencies = [
"kirin-toolchain~=0.22.0",
]
requires-python = ">= 3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"black>=24.10.0",
"coverage>=7.6.4",
"ipython>=8.29.0",
"isort>=5.13.2",
"mypy>=1.13.0",
"numpy>=1.26.4",
"pre-commit>=4.0.1",
"pyright[nodejs]>=1.1.408",
"pytest>=8.3.3",
"ruff>=0.7.3",
"rust-just>=1.36.0",
]
[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",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/bloqade"]
[tool.isort]
profile = "black"
combine_as_imports = true
multi_line_output = 3
src_paths = ["src/bloqade"]
[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/bloqade/*"]
[tool.coverage.report]
exclude_also = [
'@overload',
'@_wraps'
]
[tool.pytest.ini_options]
testpaths = "test/"