mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-11 07:34:54 +03:00
Fix Mypy
This commit is contained in:
parent
4902dd68be
commit
e2c2ba4aba
|
@ -159,10 +159,11 @@ def print_run_help(project_dir: Path, subcommand: Optional[str] = None) -> None:
|
|||
steps.append((parallel_char, step))
|
||||
print(f"\nWorkflow consisting of {len(steps)} commands:")
|
||||
if contains_parallel:
|
||||
steps_data = [
|
||||
parallel_steps_data = [
|
||||
(f"{i + 1}.", f"{step[0]} {step[1]}", commands[step[1]].get("help", ""))
|
||||
for i, step in enumerate(steps)
|
||||
]
|
||||
msg.table(parallel_steps_data)
|
||||
else:
|
||||
steps_data = [
|
||||
(f"{i + 1}. {step[1]}", commands[step[1]].get("help", ""))
|
||||
|
|
Loading…
Reference in New Issue
Block a user