forked from cda-tum/mqt-qcec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
156 lines (138 loc) · 4 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[build-system]
requires = [
"setuptools>=61",
"setuptools_scm[toml]>=6.4",
"ninja>=1.10; sys_platform != 'win32'",
"cmake>=3.14",
]
build-backend = "setuptools.build_meta"
[project]
name = "mqt.qcec"
description = "A tool for Quantum Circuit Equivalence Checking"
readme = "README.md"
authors = [
{ name = "Lukas Burgholzer", email = "lukas.burgholzer@jku.at"},
{ name = "Tom Peham", email = "tom.peham@tum.de" }
]
keywords = ["MQT", "quantum computing", "design automation", "equivalence checking", "verification"]
license = { file = "LICENSE.md" }
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: C++",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
requires-python = ">=3.7"
dependencies = [
"importlib_resources>=5.9; python_version < '3.10'",
"qiskit-terra>=0.20,<0.22"
]
dynamic = ["version"]
[project.optional-dependencies]
test = ["pytest>=7"]
coverage = ["mqt.qcec[test]", "coverage[toml]~=6.4.2", "pytest-cov~=3.0.0"]
docs = [
"sphinx>=5.1.1",
"sphinx-rtd-theme",
"sphinxcontrib-bibtex~=2.5",
"sphinx-copybutton",
"sphinx-hoverxref~=1.1.3",
"pybtex>=0.24",
"importlib_metadata>=3.6; python_version < '3.10'",
"ipython",
"ipykernel",
"nbsphinx",
"qiskit-terra[visualization]",
]
dev = ["mqt.qcec[coverage, docs]"]
[project.urls]
Homepage = "https://github.com/cda-tum/qcec"
Documentation = "https://qcec.readthedocs.io"
"Bug Tracker" = "https://github.com/cda-tum/qcec/issues"
Discussions = "https://github.com/cda-tum/qcec/discussions"
Research = "https://www.cda.cit.tum.de/research/quantum_verification/"
[tool.setuptools.packages.find]
include = ["mqt.*"]
[tool.setuptools_scm]
[tool.cibuildwheel]
build = "cp3*"
archs = "auto64"
test-skip = "cp311-* *-macosx_arm64 *-musllinux* *aarch64"
test-extras = ["test"]
test-command = "python -c \"from mqt import qcec\""
environment = { DEPLOY = "ON" }
build-frontend = "build"
build-verbosity = 3
[tool.cibuildwheel.linux]
[tool.cibuildwheel.macos]
environment = { MACOSX_DEPLOYMENT_TARGET = "10.15", DEPLOY = "ON" }
[tool.cibuildwheel.windows]
before-build = "pip install delvewheel"
repair-wheel-command = "delvewheel repair -v -w {dest_dir} {wheel}"
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["test/python"]
addopts = ["-ra", "--strict-markers", "--strict-config", "--showlocals"]
log_cli_level = "INFO"
xfail_strict = true
filterwarnings = ["error"]
[tool.coverage.run]
source = ["mqt.qcec"]
[tool.coverage.report]
show_missing = true
skip_empty = true
precision = 1
[tool.check-manifest]
ignore = [
"docs/**",
".*",
".*/**",
"noxfile.py"
]
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
src_paths = ["mqt/qcec", "test/python"]
[tool.mypy]
files = ["mqt/qcec", "test/python", "setup.py"]
python_version = "3.7"
strict = true
warn_unused_configs = true
check_untyped_defs = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
[tool.pylint]
master.py-version = "3.7"
master.jobs = "0"
reports.output-format = "colorized"
similarities.ignore-imports = "yes"
messages_control.enable = [
"useless-suppression",
]
messages_control.disable = [
"invalid-name",
"line-too-long",
"missing-module-docstring",
"no-member",
"protected-access",
"too-few-public-methods",
"too-many-arguments",
"too-many-branches",
"too-many-locals",
"too-many-statements",
"ungrouped-imports",
"wrong-import-order",
"wrong-import-position",
]