-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (47 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
56 lines (47 loc) · 1.71 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
[project]
name = "qc-parallelizer"
version = "1.3.2"
description = "A module for optimally combining and distributing quantum circuits"
authors = [
{ name = "Henri Ahola", email = "firstname.lastname@vtt.fi" }
]
readme = "README.pypi.md"
license = "MIT"
requires-python = ">= 3.10"
dependencies = [ "qiskit >= 1.0, < 1.3", "z3-solver >= 4.0.0.0", "rustworkx >= 0.15.0" ]
[project.urls]
GitHub = "https://github.com/vttresearch/qc-parallelizer"
Notebooks = "https://github.com/vttresearch/qc-parallelizer/tree/main/notebooks"
[project.optional-dependencies]
tests = [ "iqm-client[qiskit]", "pytest", "pytest-cov" ]
notebooks = [ "iqm-client[qiskit]", "ipykernel", "matplotlib", "pylatexenc" ]
[build-system]
requires = [ "setuptools>=68.0.0", "setuptools_scm[toml]>=7" ]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# See configuration details in https://github.com/pypa/setuptools_scm
version_scheme = "no-guess-dev"
[tool.ruff]
line-length = 100
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = [ "F", "E", "W", "I001", "I002" ]
ignore = [ "E101", "W191", "F401", "F811", "E712" ]
# F401: ignore unused imports, breaks Pytest fixtures
# F811: ignore redefinitions, also breaks Pytest fixtures
# E712: ignore comparisons with False
[tool.ruff.format]
indent-style = "space"
docstring-code-format = true
[tool.pytest.ini_options]
# Pytest causes various DeprecationWarnings in Qiskit, so we ignore them
# Warnings that original from a call in our code is treated normally, though
# NOTE: is ignoring a good idea?
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.pyright]
exclude = ["**/notebooks", "**/.ipynb*"]
ignore = ["**/notebooks", "**/.ipynb*"]