formatting
This commit is contained in:
		@@ -100,7 +100,12 @@ def sort_directory(directory: Path) -> tuple[int, int]:
 | 
				
			|||||||
        json.dump(ignore_list, f)
 | 
					        json.dump(ignore_list, f)
 | 
				
			||||||
    return (sort_count, ignore_count)
 | 
					    return (sort_count, ignore_count)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def sort_photos(photo_list: list[Path], ignore_list: list[dict], sort_count: int, ignore_count: int) -> tuple[list[dict], int, int]:
 | 
					def sort_photos(*,
 | 
				
			||||||
 | 
					        photo_list: list[Path], 
 | 
				
			||||||
 | 
					        ignore_list: list[dict], 
 | 
				
			||||||
 | 
					        sort_count: int, 
 | 
				
			||||||
 | 
					        ignore_count: int
 | 
				
			||||||
 | 
					    ) -> tuple[list[dict], int, int]:
 | 
				
			||||||
    # Init the previous_name for collision avoidance
 | 
					    # Init the previous_name for collision avoidance
 | 
				
			||||||
    previous_name: str = ""
 | 
					    previous_name: str = ""
 | 
				
			||||||
    for photo in photo_list:
 | 
					    for photo in photo_list:
 | 
				
			||||||
@@ -138,7 +143,12 @@ def sort_photos(photo_list: list[Path], ignore_list: list[dict], sort_count: int
 | 
				
			|||||||
        )
 | 
					        )
 | 
				
			||||||
    return (ignore_list, sort_count, ignore_count)
 | 
					    return (ignore_list, sort_count, ignore_count)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def sort_videos(video_list: list[Path], ignore_list: list[dict], sort_count: int, ignore_count: int) -> tuple[list[dict], int, int]:
 | 
					def sort_videos(*,
 | 
				
			||||||
 | 
					        video_list: list[Path], 
 | 
				
			||||||
 | 
					        ignore_list: list[dict], 
 | 
				
			||||||
 | 
					        sort_count: int, 
 | 
				
			||||||
 | 
					        ignore_count: int
 | 
				
			||||||
 | 
					    ) -> tuple[list[dict], int, int]:
 | 
				
			||||||
    previous_name: str = ""
 | 
					    previous_name: str = ""
 | 
				
			||||||
    for video in video_list:
 | 
					    for video in video_list:
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user