You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2021/11/10 09:56:54 UTC
[spark] branch master updated: [SPARK-37022][PYTHON][FOLLOW-UP]
Change python/pyproject.toml to dev/pyproject.toml in reformat-python
script
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new e6865b3 [SPARK-37022][PYTHON][FOLLOW-UP] Change python/pyproject.toml to dev/pyproject.toml in reformat-python script
e6865b3 is described below
commit e6865b3209c566d71a8400984a494cf136b89b22
Author: Hyukjin Kwon <gu...@apache.org>
AuthorDate: Wed Nov 10 18:56:17 2021 +0900
[SPARK-37022][PYTHON][FOLLOW-UP] Change python/pyproject.toml to dev/pyproject.toml in reformat-python script
### What changes were proposed in this pull request?
This PR is a small followup of https://github.com/apache/spark/pull/34297. There was a mistake during moving file from `python/pyproject.toml` to `dev/pyproject.toml` in `reformat-python` script. We should also fix `reformat-python`.
### Why are the changes needed?
To make `reformat-python` script runnable.
### Does this PR introduce _any_ user-facing change?
No, dev only.
### How was this patch tested?
Manually tested via running `./dev/reformat-python` script.
**Before:**
```
Usage: __main__.py [OPTIONS] SRC ...
Try '__main__.py -h' for help.
Error: Invalid value for '--config': File 'python/pyproject.toml' does not exist.
```
**After:**
```
All done! ✨ 🍰 ✨
358 files left unchanged.
```
Closes #34544 from HyukjinKwon/SPARK-37022-followup.
Authored-by: Hyukjin Kwon <gu...@apache.org>
Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
dev/reformat-python | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/reformat-python b/dev/reformat-python
index 0b712d5..5e76367 100755
--- a/dev/reformat-python
+++ b/dev/reformat-python
@@ -28,4 +28,4 @@ if [ $? -ne 0 ]; then
exit 1
fi
-$BLACK_BUILD --config python/pyproject.toml python/pyspark
+$BLACK_BUILD --config dev/pyproject.toml python/pyspark
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org