-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
86 lines (78 loc) · 1.71 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "emulators"
description = "Monorepo for emulation team products"
readme = "README.md"
authors = [
{ name = "Anton Quelle", email = "[email protected]"},
{ name = "Mauro Mendizabal", email="[email protected]" },
{ name = "Stefano Grava", email="[email protected]" },
{ name = "Pablo Le Henaff", email="[email protected]" }
]
requires-python = ">=3.10"
license = {text = "Proprietary"}
classifiers=[
"License :: Other/Proprietary License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"pulser-core==1.2.*",
"torch==2.5.0"]
dynamic = ["version"]
[tool.setuptools]
packages = ["emu_base", "emu_mps", "emu_sv", "optimatrix"]
[tool.coverage.run]
branch = true
parallel = true
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.flake8]
max-complexity = 18
max-line-length = 110
exclude = """
.git,
.venv,
"""
extend-ignore = """
E203,
W503,
E731,
"""
ban-relative-imports = true
[tool.black]
line-length = 90
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
line_length = 90
combine_as_imports = true
balanced_wrapping = true
lines_after_imports = 2
include_trailing_comma = true
multi_line_output = 5
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
no_implicit_optional = true