spark-instrumented-optimizer/.github
Takuya UESHIN 663cbdfbe5 [SPARK-36279][INFRA][PYTHON] Fix lint-python to work with Python 3.9
### What changes were proposed in this pull request?

Fix `lint-python` to pick `PYTHON_EXECUTABLE` from the environment variable first to switch the Python and explicitly specify `PYTHON_EXECUTABLE` to use `python3.9` in CI.

### Why are the changes needed?

Currently `lint-python` uses `python3`, but it's not the one we expect in CI.
As a result, `black` check is not working.

```
The python3 -m black command was not found. Skipping black checks for now.
```

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

The `black` check in `lint-python` should work.

Closes #33507 from ueshin/issues/SPARK-36279/lint-python.

Authored-by: Takuya UESHIN <ueshin@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
2021-07-24 16:49:11 +09:00
..
workflows [SPARK-36279][INFRA][PYTHON] Fix lint-python to work with Python 3.9 2021-07-24 16:49:11 +09:00
labeler.yml [SPARK-33282] Migrate from deprecated probot autolabeler to GitHub labeler action 2020-11-05 16:10:52 +09:00
PULL_REQUEST_TEMPLATE [SPARK-35958][CORE] Refactor SparkError.scala to SparkThrowable.java 2021-07-08 23:54:53 +08:00