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]

Do not show flake8 line numbers

Kilian Lieret4203c286fbb9
diff --git a/tools/defaults/lib/flake8_utils.py b/tools/defaults/lib/flake8_utils.py
index 536b1b59..9e0b67f0 100644
--- a/tools/defaults/lib/flake8_utils.py
+++ b/tools/defaults/lib/flake8_utils.py
@@ -90,7 +90,7 @@ def _update_previous_errors(
def format_flake8_output(
input_string: str,
- show_line_numbers: bool = True,
+ show_line_numbers: bool = False,
*,
previous_errors_string: str = "",
replacement_window: Optional[Tuple[int, int]] = None,