File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments