Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Add asyncio_default_fixture_loop_scope to avoid pytest asyncio scoping warnings

carlosejimenezba05d58152cb
diff --git a/pyproject.toml b/pyproject.toml
index 6208e3db..803cc5f9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -98,6 +98,7 @@ testpaths = [
"tests"
]
xfail_strict = true
+asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
# Exclude a variety of commonly ignored directories.