2022-05-24 07:29:17 +00:00
|
|
|
# Additional Tool Configurations
|
|
|
|
[tool.mypy]
|
|
|
|
disallow_untyped_defs = true
|
|
|
|
strict_optional = false
|
|
|
|
|
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
ignore_missing_imports = true
|
|
|
|
module = [
|
2023-05-21 06:35:34 +00:00
|
|
|
"accelerate",
|
|
|
|
"accelerate.utils.modeling",
|
2022-11-08 05:01:14 +00:00
|
|
|
"deepspeed",
|
2022-12-24 23:17:02 +00:00
|
|
|
"diffusers",
|
2022-05-24 16:45:36 +00:00
|
|
|
"dill",
|
2022-12-18 21:34:29 +00:00
|
|
|
"flask",
|
2023-05-21 06:35:34 +00:00
|
|
|
"numpy",
|
2023-01-08 22:58:12 +00:00
|
|
|
"pyChatGPT",
|
2023-05-21 06:35:34 +00:00
|
|
|
"torch",
|
|
|
|
"transformers",
|
|
|
|
"tqdm",
|
|
|
|
"tqdm.asyncio",
|
|
|
|
"sentence_transformers",
|
|
|
|
"sqlalchemy",
|
|
|
|
"sqlitedict",
|
2022-05-24 07:29:17 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
combine_as_imports = true
|
|
|
|
force_grid_wrap = 0
|
|
|
|
include_trailing_comma = true
|
|
|
|
known_first_party = ["manifest"]
|
|
|
|
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"
|
2022-05-24 16:45:36 +00:00
|
|
|
# log_cli = true
|