Skip to content

Commit 7d79418

Browse files
committed
[MINOR][PYTHON] Generate with a newline at the end of error-conditions.json
### What changes were proposed in this pull request? This PR proposes to generate with a newline at the end of `error-conditions.json`. ### Why are the changes needed? To make the styles same as other Python files. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests in CI. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #50254 from HyukjinKwon/minor-format-gen. Authored-by: Hyukjin Kwon <gurwls223@apache.org> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent c2d2754 commit 7d79418

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

python/pyspark/errors/error-conditions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,4 +1208,4 @@
12081208
"Index must be non-zero."
12091209
]
12101210
}
1211-
}
1211+
}

python/pyspark/errors/exceptions/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ def _write_self() -> None:
3030
sort_keys=True,
3131
indent=2,
3232
)
33+
f.write("\n")

0 commit comments

Comments
 (0)