-
Notifications
You must be signed in to change notification settings - Fork 110
/
pyproject.toml
47 lines (40 loc) · 938 Bytes
/
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
[build-system]
requires = ["setuptools>=42.0", "wheel", "setuptools_scm[toml]>=3.4"]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'def __repr__',
'def __str__',
'if TYPE_CHECKING'
]
[tool.mypy]
enable_error_code = ["ignore-without-code"]
pretty = true
show_error_codes = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"depccg.*",
"discopy.*",
"jax.*",
"pennylane.*",
"requests.*",
"sympy.*",
"tensorflow.*",
"tensornetwork.*",
"tqdm.*"
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["transformers.*"]
ignore_missing_imports = true
follow_imports = "skip"
[[tool.mypy.overrides]]
module = ["lambeq.text2diagram.bobcat_parser", "lambeq.bobcat.*"]
strict_optional = false
[tool.setuptools_scm]
write_to = "lambeq/version.py"