-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (65 loc) · 1.72 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
[build-system]
requires = ["setuptools>=40.2.0,<64.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
# File filtering is taken care of in pre-commit.
line-length = 100
target-version = ['py311']
[tool.isort]
profile = "black"
line_length = 100
lines_between_sections = 1
[tool.mypy]
python_version = "3.11"
mypy_path = []
plugins = ["pydantic.mypy"]
files = ["src/"]
# minimal strictness settings
check_untyped_defs = true
no_implicit_reexport = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
warn_redundant_casts = true
[[tool.mypy.overrides]]
module = [
"matplotlib.*",
"joblib.*",
"sentence_transformers.*",
"scipy.*",
"openai_multi_tool_use_parallel_patch",
"fsspec",
"unidiff",
"tree_sitter_languages",
"tree_sitter",
"google.cloud.*",
"langfuse.*",
"langfuse",
"sklearn.dummy",
"urllib3",
"urllib",
"urllib.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = []
disable_error_code = [
"arg-type",
"assignment",
"attr-defined",
"call-arg",
"call-overload",
"dict-item",
"has-type",
"index",
"list-item",
"misc",
"operator",
"override",
"return-value",
"typeddict-item",
"typeddict-unknown-key",
"union-attr",
"unreachable",
"var-annotated",
]