Martin Grund created SPARK-39881:
------------------------------------
Summary: Python Lint does not actually check for `black` formatter
Key: SPARK-39881
URL: https://issues.apache.org/jira/browse/SPARK-39881
Project: Spark
Issue Type: Improvement
Components: Build, PySpark
Affects Versions: 3.3.0
Reporter: Martin Grund
In our current `dev/lint-python` script we execute the following check: {{}}
{code:java}
$BLACK_BUILD 2> /dev/null
if [ $? -ne 0 ]; then
# ...
fi{code}
However, even if black is installed simply invoking it will actually return a
non-zero exit code because no src files have been specified. To correctly
check for the existence of `black` we need a different check.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]