-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
83 lines (74 loc) · 1.93 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
[build-system]
requires = ["setuptools<=65.6.3", "wheel", "setuptools_scm>=6.0"]
# Including this section is same as 'use_scm_version=True' in setup.py
# See https://github.com/pypa/setuptools_scm for guidance
[tool.setuptools_scm]
[tool.isort]
profile = "black"
[tool.mypy]
# Without this we would have to add an empty __init__.py file for every package.
namespace_packages = true
# Without this mypy complains about the same module being imported under different
# names. Note that this also requires setting `mypy_path`.
explicit_package_bases = true
# We usually keep our source code under `src/<namespace>/<library>/...`.
# This option tells mypy to look under that directory path.
# If your repo has a different layout you can add the appropriate paths
# by setting MYPYPATH env variable.
mypy_path = "src"
exclude = [
]
[[tool.mypy.overrides]]
module = [
'juliacall.*',
'pyliqtr.*',
'pyLIQTR.*',
'scipy.*',
'sympy.*',
'rapidjson',
'mlflow.*',
'networkx.*',
'openfermion.*',
'openfermionpyscf.*',
'pyscf.*',
'qiskit.*',
'qiskit_qir.*',
'azure.quantum.qiskit.*',
'graph_state_generation.*',
'matplotlib.*',
'stim.*',
'h5py.*',
'numba.*',
'juliapkg.*',
'urllib3.*',
'pandas.*',
'upsetplot.*',
'pkg_resources.*',
]
ignore_missing_imports = true
[tool.coverage.run]
omit = ["*/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __str__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.pytest.ini_options]
log_level="INFO"
[tool.flake8]
ignore = ['E203', 'E266', 'F401', 'W605']
max-line-length = 88
[tool.pyright]
exclude = [
"src/benchq/compilation",
"src/benchq/conversions",
"src/benchq/mlflow",
"src/benchq/problem_embeddings",
"src/benchq/problem_ingestion",
"src/benchq/resource_estimators",
"src/benchq/visualization_tools.py",
]