File size: 432 Bytes
aa72c2d
 
 
 
 
 
 
 
 
3ea399a
aa72c2d
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tool.pytest.ini_options]
pythonpath = ["."]
markers = [
    "gpu: marks tests that need a GPU (use --gpu to enable)",
]

[tool.ruff]
line-length = 100
target-version = "py311"
exclude = ["comfyui/", ".venv/"]

[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
ignore = ["E501"]  # line length is enforced by formatter, not linter

[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E402"]  # imports inside test functions are fine