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]
Allow ruff to write fixes
Kilian Lieret441f18284751
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 30c444cd..25a17b0f 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -19,8 +19,6 @@ repos:hooks:- id: typosfiles: \.(py|md|rst|yaml|toml)- # empty to do not write fixes- args: []exclude: pyproject.toml- repo: https://github.com/astral-sh/ruff-pre-commit@@ -28,6 +26,7 @@ repos:hooks:# Run the linter.- id: ruff+ args: ["--fix"]# Run the formatter.- id: ruff-format