-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
126 lines (116 loc) · 2.53 KB
/
pyproject.toml
File metadata and controls
126 lines (116 loc) · 2.53 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[build-system]
requires = ["setuptools>=42.0", "wheel", "setuptools_scm[toml]>=3.4"]
[project]
dynamic = ["version"]
name = "optyx"
description = "optyx"
readme = "README.md"
requires-python = ">=3.9"
keywords = [
"quantum computing",
"string diagrams"
]
authors = [
{name = "Giovanni de Felice"},
{email = "giovanni.defelice@cambridgequantum.com"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering"
]
dependencies = [
"discopy >= 1.2.0",
"sympy",
"perceval-quandela >= 0.10.2",
"networkx >= 3.2",
"graphix == 0.2.16",
"pytket >= 2.6.0",
"pytket-pyzx >= 0.35.0",
"pytket-qiskit >= 0.68.3",
"pylatexenc >= 2.10",
]
[project.optional-dependencies]
test = [
"black",
"coverage",
"pyproject-flake8",
"pylint",
"pytest",
"pyzx",
]
docs = [
"sphinx",
"myst-parser",
"nbsphinx",
"ipykernel",
"IPython",
"sphinx-rtd-theme",
]
[project.urls]
Homepage = "https://cqcl.github.io/optyx/"
Documentation = "https://cqcl.github.io/optyx/"
Repository = "https://github.com/CQCL/optyx"
Issue-Tracker = "https://github.com/CQCL/optyx/issues"
Download = "https://pypi.org/project/optyx"
[tool.setuptools]
packages = [
"optyx",
]
[tool.setuptools_scm]
write_to = "optyx/_version.py"
[tool.flake8]
extend-ignore = [
"E731",
"E741",
"E743",
"F811",
]
per-file-ignores = [
"__init__.py:F401"
]
[tool.pytest.ini_options]
pythonpath = [
"."
]
testpaths = [
"optyx",
"test/*.py",
"test/*/*.py",
]
addopts = "--doctest-modules"
# Suppress deprecation warnings from third party packages cluttering test output
filterwarnings = [
"ignore::DeprecationWarning:perceval",
"ignore::DeprecationWarning:latexcodec",
"ignore::DeprecationWarning:pkg_resources",
"ignore::UserWarning:cotengra",
]
[tool.coverage.run]
omit = [
"optyx/_version.py",
"optyx/__init__.py",
"optyx/*/__init__.py",
"test/*",
]
[tool.coverage.report]
exclude_also = [
"raise AssertionError",
"raise NotImplementedError",
"raise ValueError",
]
[tool.black]
target-version = ["py38", "py39", "py310", "py311"]
line-length = 79
[tool.pylint.'MESSAGES CONTROL']
disable = """
too-many-ancestors,
too-many-arguments
"""
ignore-patterns = "_version.py"