Skip to content

Commit 10f693e

Browse files
committed
fix: update .encode() indent for method, instead of function
I should have updated in vega#3444 but the problem didn't become apparent until running through `ruff`
1 parent ec5164e commit 10f693e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/generate_schema_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ def _create_encode_signature(
892892
if len(docstring_parameters) > 1:
893893
docstring_parameters += [""]
894894
docstring = indent_docstring(
895-
docstring_parameters, indent_level=4, width=100, lstrip=False
895+
docstring_parameters, indent_level=8, width=100, lstrip=False
896896
)
897897
return ENCODE_METHOD.format(
898898
encode_method_args=", ".join(signature_args), docstring=docstring

0 commit comments

Comments
 (0)