-
Notifications
You must be signed in to change notification settings - Fork 46
/
pyproject.toml
58 lines (55 loc) · 1.07 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
# Additional Tool Configurations
[tool.mypy]
disallow_untyped_defs = true
strict_optional = false
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"accelerate",
"accelerate.utils.modeling",
"deepspeed",
"diffusers",
"dill",
"flask",
"numpy",
"pyChatGPT",
"torch",
"transformers",
"tqdm",
"tqdm.asyncio",
"sentence_transformers",
"sqlalchemy",
"sqlitedict",
]
[tool.isort]
combine_as_imports = true
force_grid_wrap = 0
include_trailing_comma = true
known_first_party = ["manifest"]
known_third_party = [
"accelerate",
"accelerate.utils.modeling",
"deepspeed",
"diffusers",
"dill",
"flask",
"numpy",
"pyChatGPT",
"torch",
"transformers",
"tqdm",
"tqdm.asyncio",
"sentence_transformers",
"sqlalchemy",
"sqlitedict",
]
line_length = 88
multi_line_output = 3
[tool.pytest.ini_options]
log_format = "[%(levelname)s] %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
addopts = "-v -rsXx"
# The following options are useful for local debugging
# addopts = "-v -rsXx -s -x --pdb"
# log_cli_level = "DEBUG"
# log_cli = true