Skip to content

Commit 485edfd

Browse files
committed
fix ruff format
1 parent 543ef7a commit 485edfd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

agent/agent_utils.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ def get_target_edit_files(
297297
raise ValueError(
298298
"topological_sort_files should not be longer than filtered_files"
299299
)
300-
assert len(topological_sort_files) == len(filtered_files), (
301-
"all files should be included"
302-
)
300+
assert len(topological_sort_files) == len(
301+
filtered_files
302+
), "all files should be included"
303303

304304
# change to latest commit
305305
local_repo.git.checkout(branch)
@@ -356,9 +356,9 @@ def get_target_edit_files_from_patch(
356356
raise ValueError(
357357
"topological_sort_files should not be longer than target_files_list"
358358
)
359-
assert len(topological_sort_files) == len(target_files_list), (
360-
"all files should be included"
361-
)
359+
assert len(topological_sort_files) == len(
360+
target_files_list
361+
), "all files should be included"
362362

363363
topological_sort_files = [
364364
file.replace(working_dir, "").lstrip("/") for file in topological_sort_files

0 commit comments

Comments
 (0)