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]

Move: test_commands -> test_split_string

Kilian Lieret105a2d5d1268
diff --git a/tests/tools/__init__.py b/tests/tools/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/tests/test_commands.py b/tests/tools/test_split_string.py
similarity index 98%
rename from tests/test_commands.py
rename to tests/tools/test_split_string.py
index 88d83e11..c73788ba 100644
--- a/tests/test_commands.py
+++ b/tests/tools/test_split_string.py
@@ -3,7 +3,7 @@ from __future__ import annotations
from tests.utils import make_python_tool_importable
make_python_tool_importable("tools/edit_linting/bin/_split_string", "split_string")
-from split_string import Flake8Error, _update_previous_errors, format_flake8_output
+from split_string import Flake8Error, _update_previous_errors, format_flake8_output # type: ignore
def test_partition_flake8_line():