-
Notifications
You must be signed in to change notification settings - Fork 1k
/
pyproject.toml
61 lines (48 loc) · 1.19 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
[build-system]
requires = [
"setuptools>=42",
"wheel",
"pybind11>=2.10.0",
]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [
"resource_intensive: Tests which readily exceed resources such as memory"
]
[tool.black]
line-length = 99
target_version = ['py39', 'py310', 'py311', 'py312']
[tool.isort]
profile = "black"
[tool.mypy]
no_implicit_optional = false # TODO: PEP484, set to true
strict = false # TODO: set to true
exclude = ["tests"]
[[tool.mypy.overrides]]
module = "pybind11.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "vertexai.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "google.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "llama_cpp.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "anthropic.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "litellm.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "transformers.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "diskcache.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tokenizers.*"
ignore_missing_imports = true