-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
53 lines (45 loc) · 1.32 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
[build-system]
requires = ["setuptools", "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"
[[tool.mypy.overrides]]
module = [
'qiskit.*',
'scipy.*',
'symengine.*',
'cma.*',
'networkx.*',
'skquant.*',
'ttopt.*',
]
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