Skip to content

Commit 0855919

Browse files
committed
blackify nuts_init.py
1 parent 0f429f1 commit 0855919

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

nuts/nuts_init.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
app = typer.Typer()
99
console = Console()
1010

11+
1112
def get_host_data(
1213
platform: Literal["ios", "nxos_ssh", "eos", "junos", "iosxr"],
1314
name: str,
@@ -262,11 +263,22 @@ def nuts_init(
262263
yaml.dump(lldp_neighbors, f)
263264

264265
console.print("\n[bold]Next steps:[/bold]")
265-
console.print(f"- Review and update the nornir config file in [green]{nornir_config}[/green]")
266-
console.print(f"- Review and update the inventory files in [green]{inventory_dir}[/green]")
267-
console.print(f"- Review and update the test file in [green]{test_dir / 'test_lldp_neighbors_demo.yaml'}[/green]")
266+
console.print(
267+
f"- Review and update the nornir config file in [green]{nornir_config}[/green]"
268+
)
269+
console.print(
270+
f"- Review and update the inventory files in [green]{inventory_dir}[/green]"
271+
)
272+
console.print(
273+
"- Review and update the test file in [green]"
274+
f"{test_dir / 'test_lldp_neighbors_demo.yaml'}[/green]"
275+
)
268276
if str(nornir_config) != "nr-config.yaml":
269-
console.print(f"- When running pytest, use the option [green]--nornir-config {nornir_config}[/green] to point to the nornir config file.")
277+
console.print(
278+
"- When running pytest, use the option [green]--nornir-config"
279+
f"{nornir_config}[/green] to point to the nornir config file."
280+
)
281+
270282

271283
def run() -> None:
272284
app()

0 commit comments

Comments
 (0)