Skip to content

Commit 2efa753

Browse files
committed
format
1 parent 686d4e4 commit 2efa753

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

commit0/cli.py

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ def setup(
118118
typer.echo(f"Dataset name: {highlight(dataset_name, Colors.ORANGE)}")
119119
typer.echo(f"Dataset split: {highlight(dataset_split, Colors.ORANGE)}")
120120
typer.echo(f"Base directory: {highlight(base_dir, Colors.ORANGE)}")
121-
typer.echo(f"Commit0 dot file path: {highlight(commit0_dot_file_path, Colors.ORANGE)}")
121+
typer.echo(
122+
f"Commit0 dot file path: {highlight(commit0_dot_file_path, Colors.ORANGE)}"
123+
)
122124

123125
commit0.harness.setup.main(
124126
dataset_name,
@@ -144,7 +146,8 @@ def build(
144146
num_workers: int = typer.Option(8, help="Number of workers"),
145147
commit0_dot_file_path: str = typer.Option(
146148
".commit0.yaml",
147-
help="Path to the commit0 dot file, where the setup config is stored"),
149+
help="Path to the commit0 dot file, where the setup config is stored",
150+
),
148151
verbose: int = typer.Option(
149152
1,
150153
"--verbose",
@@ -159,9 +162,15 @@ def build(
159162
commit0_config = read_commit0_dot_file(commit0_dot_file_path)
160163
check_valid(commit0_config["repo_split"], SPLIT)
161164

162-
typer.echo(f"Building repository for split: {highlight(commit0_config['repo_split'], Colors.ORANGE)}")
163-
typer.echo(f"Dataset name: {highlight(commit0_config['dataset_name'], Colors.ORANGE)}")
164-
typer.echo(f"Dataset split: {highlight(commit0_config['dataset_split'], Colors.ORANGE)}")
165+
typer.echo(
166+
f"Building repository for split: {highlight(commit0_config['repo_split'], Colors.ORANGE)}"
167+
)
168+
typer.echo(
169+
f"Dataset name: {highlight(commit0_config['dataset_name'], Colors.ORANGE)}"
170+
)
171+
typer.echo(
172+
f"Dataset split: {highlight(commit0_config['dataset_split'], Colors.ORANGE)}"
173+
)
165174
typer.echo(f"Number of workers: {highlight(str(num_workers), Colors.ORANGE)}")
166175

167176
commit0.harness.build.main(
@@ -209,7 +218,8 @@ def test(
209218
] = False,
210219
commit0_dot_file_path: str = typer.Option(
211220
".commit0.yaml",
212-
help="Path to the commit0 dot file, where the setup config is stored"),
221+
help="Path to the commit0 dot file, where the setup config is stored",
222+
),
213223
verbose: int = typer.Option(
214224
1,
215225
"--verbose",

0 commit comments

Comments
 (0)