-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (45 loc) · 1.23 KB
/
pyproject.toml
File metadata and controls
51 lines (45 loc) · 1.23 KB
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
[tool.black]
line-length = 100
target-version = ["py310"]
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 100
combine_as_imports = true
force_grid_wrap = 0
include_trailing_comma = true
multi_line_output = 3
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
]
ignore = [
"E501", # handled by black line-length
]
[tool.ruff.lint.isort]
known-first-party = ["localinferenceapi", "tools"]
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
ignore_missing_imports = true
disallow_untyped_defs = false
check_untyped_defs = false
no_strict_optional = true
follow_imports = "skip"
pretty = true
[tool.pytest.ini_options]
markers = [
"ui: browser end-to-end smoke tests (requires RUN_UI_E2E=1 and Playwright)",
"ui_smoke: fast UI smoke scenarios for PR validation",
"ui_full: broader UI flow matrix for nightly/full runs",
"ui_usability_smoke: fast usability/legibility UI checks for PR validation",
"ui_usability_full: broader usability/legibility UI checks for nightly/full runs",
"ui_gpu_lifecycle: UI checks that validate heavy-job lifecycle semantics",
]