forked from TeamGraphix/graphix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
85 lines (74 loc) · 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
[build-system]
requires = ["setuptools>=66.1", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "graphix"
authors = [{ name = "Shinichi Sunami", email = "shinichi.sunami@gmail.com" }]
maintainers = [
{ name = "Shinichi Sunami", email = "shinichi.sunami@gmail.com" },
]
license = { file = "LICENSE" }
description = "Optimize and simulate measurement-based quantum computation"
readme = "README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = ">=3.8,<3.13"
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
Documentation = "https://graphix.readthedocs.io"
"Bug Tracker" = "https://github.com/TeamGraphix/graphix/issues"
[tool.setuptools_scm]
version_file = "graphix/_version.py"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = ["requirements-dev.txt"] }
extra = { file = ["requirements-extra.txt"] }
[tool.ruff]
line-length = 120
extend-exclude = ["docs"]
[tool.ruff.lint]
extend-select = [
"A",
"B",
"FA",
"I",
"NPY",
"N",
"PERF",
"PLE",
"PLW",
"RUF",
"TCH",
"UP",
"W",
]
ignore = [
"E74", # Ambiguous name
]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = [
"F401", # Unused import
]
"examples/*.py" = [
"B018", # Useless expression
"E402", # Import not at top of file
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
# Silence cotengra warning
filterwarnings = ["ignore:Couldn't import `kahypar`"]