Skip to content

Commit

Permalink
Fix lint312 job
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Nov 21, 2024
1 parent 2ddc9bd commit 695772a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/utils/configpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ def _ask(
for panel in config.panels:
if interactive and verbose:
Moulinette.display(
colorize(f"\n{'='*40}\n>>>> {panel.name}\n{'='*40}", "purple")
colorize(f"\n{'=' * 40}\n>>>> {panel.name}\n{'=' * 40}", "purple")
)

# A section or option may only evaluate its conditions (`visible`
Expand Down
6 changes: 4 additions & 2 deletions src/utils/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -2212,13 +2212,15 @@ def ask_questions_and_parse_answers(
@overload
def parse_raw_options(
raw_options: dict[str, Any], serialize: Literal[True]
) -> list[dict[str, Any]]: ...
) -> list[dict[str, Any]]:
...


@overload
def parse_raw_options(
raw_options: dict[str, Any], serialize: Literal[False] = False
) -> list[AnyOption]: ...
) -> list[AnyOption]:
...


def parse_raw_options(
Expand Down

0 comments on commit 695772a

Please sign in to comment.