mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-12 08:04:55 +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))
|
steps.append((parallel_char, step))
|
||||||
print(f"\nWorkflow consisting of {len(steps)} commands:")
|
print(f"\nWorkflow consisting of {len(steps)} commands:")
|
||||||
if contains_parallel:
|
if contains_parallel:
|
||||||
steps_data = [
|
parallel_steps_data = [
|
||||||
(f"{i + 1}.", f"{step[0]} {step[1]}", commands[step[1]].get("help", ""))
|
(f"{i + 1}.", f"{step[0]} {step[1]}", commands[step[1]].get("help", ""))
|
||||||
for i, step in enumerate(steps)
|
for i, step in enumerate(steps)
|
||||||
]
|
]
|
||||||
|
msg.table(parallel_steps_data)
|
||||||
else:
|
else:
|
||||||
steps_data = [
|
steps_data = [
|
||||||
(f"{i + 1}. {step[1]}", commands[step[1]].get("help", ""))
|
(f"{i + 1}. {step[1]}", commands[step[1]].get("help", ""))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user