deepsource-autofix[bot] commited on
Commit
dfc6d2e
1 Parent(s): ed84fe9

Format code with black

Browse files

This commit fixes the style issues introduced in ed84fe9 according to the output
from black.

Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/79430230-62a3-4b45-97e9-1c474e7a7462/

Files changed (1) hide show
  1. docs/gen_param_docs.py +5 -1
docs/gen_param_docs.py CHANGED
@@ -40,7 +40,11 @@ def str_param_groups(param_groupings, params, cur_heading=2):
40
  f" - **`{param_groupings}`**"
41
  + "\n\n"
42
  + clean_desc
43
- + ("\n\n " + f"*Default:* `{default_value.group(1)}`" if default_value else "")
 
 
 
 
44
  )
45
  else:
46
  raise TypeError(f"Unexpected type {type(param_groupings)}")
 
40
  f" - **`{param_groupings}`**"
41
  + "\n\n"
42
  + clean_desc
43
+ + (
44
+ "\n\n " + f"*Default:* `{default_value.group(1)}`"
45
+ if default_value
46
+ else ""
47
+ )
48
  )
49
  else:
50
  raise TypeError(f"Unexpected type {type(param_groupings)}")