File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments