Spaces:
Running on Zero
Running on Zero
| [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 | |