-
Notifications
You must be signed in to change notification settings - Fork 287
Expand file tree
/
Copy pathpyproject.toml
More file actions
28 lines (24 loc) · 851 Bytes
/
pyproject.toml
File metadata and controls
28 lines (24 loc) · 851 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
[tool.pytest.ini_options]
filterwarnings = [
"error::DeprecationWarning",
"error::modal.exception.DeprecationError",
"ignore::DeprecationWarning:pytest.*:",
]
addopts = "--ignore 07_web_endpoints/webrtc/webrtc_yolo_test.py --ignore 06_gpu_and_ml/llm-serving/openai_compatible/load_test.py --ignore 07_web_endpoints/fasthtml-checkboxes/cbx_load_test.py"
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
no_strict_optional = true
# https://github.com/python/mypy/issues/10632
[[tool.mypy.overrides]]
module = "requests"
ignore_missing_imports = true
[tool.ruff]
exclude = [".venv", "venv", "__pycache__"]
line-length = 88
# TODO: Add when available: "E266", "E203"
lint.ignore = ["E501", "E741", "E402"]
lint.select = ['E', 'F', 'W', 'I']
[tool.ruff.lint.isort]
combine-as-imports = true
known-third-party = ["modal"]