Skip to content

Commit ea2ebab

Browse files
committed
run black repo wide
1 parent 6690e77 commit ea2ebab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+18
-50
lines changed

flood/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@
55

66
if __name__ == '__main__':
77
cli_run.run_cli()
8-

flood/cli/cli_run.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ def run_cli(raw_command: str | None = None) -> None:
4848
command_index=command_index,
4949
config=config,
5050
)
51-

flood/cli/ls_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ def ls_command() -> None:
3636
text_style=flood.styles['metavar'],
3737
)
3838
toolstr.print_bullet(key='all', value='', colon_str='')
39-

flood/cli/report_command.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ def report_command(
4141
output: str | None,
4242
metrics: typing.Sequence[str] | None,
4343
) -> None:
44-
4544
if output is None:
4645
import os
4746

@@ -52,4 +51,3 @@ def report_command(
5251
output_dir=output,
5352
metrics=metrics,
5453
)
55-

flood/cli/root_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,3 @@ def root_command(
166166
output_dir=output_dir or True,
167167
figures=figures,
168168
)
169-

flood/cli/samples_collect_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ def samples_collect_command(
4848
sizes=sizes,
4949
datatypes=datatypes,
5050
)
51-

flood/cli/samples_download_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,3 @@ def download_samples_command(
6161
output_dir=output_dir,
6262
only_missing=missing,
6363
)
64-

flood/cli/samples_ls_command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,3 @@ def samples_ls_command() -> None:
5757
print('-', filename)
5858
print()
5959
print('download using `flood samples download` command')
60-

flood/generators/object_generators/address_generators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ def generate_eoas(
2929
n=n,
3030
random_seed=random_seed,
3131
)
32-

flood/generators/object_generators/block_generators.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ def _generate_block_ranges_strides(
101101
random_phases = list(range(range_size))
102102
rng.shuffle(random_phases)
103103
for random_phase in random_phases:
104-
strides = np.arange(start_block + random_phase, end_block, range_size)
104+
strides = np.arange(
105+
start_block + random_phase, end_block, range_size
106+
)
105107
rng.shuffle(strides)
106108
n_missing = n - len(block_ranges)
107109
if n_missing > 0:
@@ -180,4 +182,3 @@ def _generate_block_ranges_individual(
180182
ranges_list = list(ranges)
181183
rng.shuffle(ranges_list)
182184
return ranges_list
183-

0 commit comments

Comments
 (0)