-
Notifications
You must be signed in to change notification settings - Fork 35
/
pyproject.toml
55 lines (50 loc) · 1.07 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
[build-system]
requires = [
"wheel",
"setuptools>=40.1.0",
"oldest-supported-numpy",
]
[tool.tox]
legacy_tox_ini = """
[tox]
minversion = 3.3.0
envlist = pre-commit,py38,py39,py310,py311,py312
skip_missing_interpreters = true
[testenv]
passenv =
TERM
deps =
numpy>=1.22
pytest>=2.8
hypothesis[numpy,zoneinfo]>=6.14.5
qiskit>=0.37.1
pytket>=1.5.0
cirq>=1.0.0
qutip>=4.7.0
pytket-qiskit
tzdata
commands =
pytest {posargs}
[testenv:pre-commit]
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
basepython=py312
"""
[tool.pytest.ini_options]
minversion = "2.8"
testpaths = ["tests/"]
python_files = "test*.py"
norecursedirs = ".env"
addopts = "--doctest-modules --ignore-glob=bqskit/compiler/compile*"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
allow_redefinition = true
warn_redundant_casts = true
warn_unused_ignores = true
pretty = true
plugins = "numpy.typing.mypy_plugin"