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]

Remove logging statement in tools/edit_linting/bin/edit

carlosejimenezaf6b0e5ffb50
diff --git a/tools/edit_linting/bin/edit b/tools/edit_linting/bin/edit
index 854ee440..a966519b 100644
--- a/tools/edit_linting/bin/edit
+++ b/tools/edit_linting/bin/edit
@@ -88,10 +88,6 @@ def main(line_range: str, replacement_text: Union[str, None] = None):
else:
replacement_text += "\n" # add implicit newline at the end
- import json
-
- print(json.dumps(replacement_text))
-
if not replacement_text:
print(_USAGE_MSG)
exit(1)