Skip to content

Commit 27d6e71

Browse files
committed
Fix indentation and spacing errors in set_config function
1 parent a3c197f commit 27d6e71

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

skrub/_config.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -341,16 +341,16 @@ def set_config(
341341
)
342342
local_config["table_report_verbosity"] = table_report_verbosity
343343

344-
if table_report_n_rows is not None:
345-
if (
346-
not isinstance(table_report_n_rows, numbers.Integral)
347-
or table_report_n_rows < 1
348-
):
349-
raise ValueError(
350-
"'table_report_n_rows' must be a positive integer, got"
351-
f" {table_report_n_rows!r}"
352-
)
353-
local_config["table_report_n_rows"] = table_report_n_rows
344+
if table_report_n_rows is not None:
345+
if (
346+
not isinstance(table_report_n_rows, numbers.Integral)
347+
or table_report_n_rows < 1
348+
):
349+
raise ValueError(
350+
"'table_report_n_rows' must be a positive integer, got"
351+
f" {table_report_n_rows!r}"
352+
)
353+
local_config["table_report_n_rows"] = table_report_n_rows
354354

355355
if subsampling_seed is not None:
356356
np.random.RandomState(subsampling_seed) # check seed
@@ -377,7 +377,7 @@ def set_config(
377377
or cardinality_threshold < 0
378378
):
379379
raise ValueError(
380-
"'cardinality_threshold' must be a positive"
380+
"'cardinality_threshold' must be a positive "
381381
f"integer, got {cardinality_threshold!r}"
382382
)
383383

0 commit comments

Comments
 (0)