-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
119 lines (109 loc) · 2.2 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
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
[project]
name = "bloqade"
version = "0.22.4"
description = "The software development toolkit for neutral atom arrays."
readme = "README.md"
authors = [
{ name = "Roger-luo", email = "[email protected]" },
{ name = "kaihsin", email="[email protected]" },
{ name = "weinbe58", email="[email protected]"},
{ name = "johnzl-777", email="[email protected]"},
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.22.0",
"scipy>=1.13.1",
"kirin-toolchain~=0.14.0",
"rich>=13.9.4",
"pydantic>=1.3.0",
"pandas>=2.2.3",
]
[project.optional-dependencies]
qasm2 = [
"lark>=1.2.2",
]
vis = [
"tqdm>=4.66.5",
"matplotlib>=3.9.2",
"pyqt5>=5.15.11",
"ffmpeg>=1.4",
]
qbraid = [
"qbraid>=0.9.3",
]
cirq = [
"cirq-core>=1.4.1",
"cirq-core[contrib]>=1.4.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/bloqade"]
[dependency-groups]
dev = [
"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>=1.1.388",
"pytest>=8.3.3",
"ruff>=0.7.3",
"rust-just>=1.36.0",
"tomlkit>=0.13.2",
]
doc = [
"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",
"mkdocs-jupyter>=0.25.1",
]
examples = [
"networkx>=3.4.2",
]
[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 = "py310"
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/*"]