-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (47 loc) · 1011 Bytes
/
Copy pathpyproject.toml
File metadata and controls
52 lines (47 loc) · 1011 Bytes
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
[tool.ruff]
line-length = 99
ignore = ["E731"]
[tool.mypy]
# 3rd party import
ignore_missing_imports = true
# dynamic typing
disallow_any_unimported = false
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = false
disallow_subclassing_any = false
# platform
python_version = "3.9"
# untyped
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_decorators = false
# None and Optional
no_implicit_optional = true
# Warnings
warn_return_any = false
warn_unreachable = true
# Misc
pretty = true
[[tool.mypy.overrides]]
module = [
"sqlalchemy",
"sqlalchemy.*",
"torch.*",
"pandas",
"numpy",
"celery",
"databases",
"matplotlib",
"fastapi",
"starlette",
"torchsummary.*",
"torchvision.*"
]
ignore_missing_imports = true
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
filterwarnings = ["ignore::UserWarning", "ignore:DeprecationWarning"]