fix: indentation for `leetcode_directory_md.py` (#1203)

* fix indentation for leetcode_directory_md.py

* small fix
This commit is contained in:
Alexander Pantyukhin 2023-01-31 23:14:36 +04:00 committed by GitHub
parent 88d29872f9
commit 5ef38b30f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -77,10 +77,10 @@ def print_directory_md(tasks_list: list[Task]) -> None:
def formatted_string(header, title, solution, difficulty):
return (
f"| {header.ljust(id_max_length)}"
+ f"| {title.ljust(title_max_length)}"
+ f"| {solution.ljust(solution_max_length)}"
+ f" | {difficulty.ljust(difficulty_max_length)} |"
f"| {header.rjust(id_max_length)} "
+ f"| {title.ljust(title_max_length)} "
+ f"| {solution.ljust(solution_max_length)} "
+ f"| {difficulty.ljust(difficulty_max_length)} |"
)
tasks_rows = []