Skip to content

[SPARK-56018][PYTHON][FOLLOW-UP] Disable black check by default#54928

Closed
ueshin wants to merge 1 commit intoapache:masterfrom
ueshin:issues/SPARK-56018/disable_black
Closed

[SPARK-56018][PYTHON][FOLLOW-UP] Disable black check by default#54928
ueshin wants to merge 1 commit intoapache:masterfrom
ueshin:issues/SPARK-56018/disable_black

Conversation

@ueshin
Copy link
Copy Markdown
Member

@ueshin ueshin commented Mar 20, 2026

What changes were proposed in this pull request?

This is a follow-up of #54840.

Disables black check by default.

Why are the changes needed?

The python formatter moved from black to ruff at #54840, but lint-python still runs the black check if no arguments are provided and there is black installed, causing many failures.

% ./dev/lint-python
starting python compilation test...
python compilation succeeded.

starting black test...
black checks failed:
...

Does this PR introduce any user-facing change?

No.

How was this patch tested?

N/A

Was this patch authored or co-authored using generative AI tooling?

No.

@ueshin
Copy link
Copy Markdown
Member Author

ueshin commented Mar 20, 2026

cc @gaogaotiantian

@dongjoon-hyun
Copy link
Copy Markdown
Member

Merged to master.

terana pushed a commit to terana/spark that referenced this pull request Mar 23, 2026
### What changes were proposed in this pull request?

This is a follow-up of apache#54840.

Disables black check by default.

### Why are the changes needed?

The python formatter moved from `black` to `ruff` at apache#54840, but `lint-python` still runs the black check if no arguments are provided and there is `black` installed, causing many failures.

```sh
% ./dev/lint-python
starting python compilation test...
python compilation succeeded.

starting black test...
black checks failed:
...
```

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

No.

### How was this patch tested?

N/A

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#54928 from ueshin/issues/SPARK-56018/disable_black.

Authored-by: Takuya Ueshin <ueshin@databricks.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants