This is an automated email from the ASF dual-hosted git repository.
ruifengz 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 7cb136924440 [SPARK-55460][PYTHON] Remove E203 from ruff's ignore list
7cb136924440 is described below
commit 7cb136924440590b83d0d9f983bed1a79298af42
Author: Tian Gao <[email protected]>
AuthorDate: Tue Feb 10 15:37:16 2026 +0800
[SPARK-55460][PYTHON] Remove E203 from ruff's ignore list
### What changes were proposed in this pull request?
Remove `E203` from ruff's ignore list
### Why are the changes needed?
We used to have this because `black` adds spaces before `:`. That's not the
case anymore. Removing this does not trigger any lint issue in our repo and we
should just remove the restriction.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
`ruff check` passed.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #54240 from gaogaotiantian/remove-e203.
Authored-by: Tian Gao <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
pyproject.toml | 1 -
1 file changed, 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index c91cc1676c1f..3609ec593d77 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,7 +41,6 @@ extend-select = [
"G010" # logging-warn
]
ignore = [
- "E203", # Skip as black formatter adds a whitespace around ':'.
"E402", # Module top level import is disabled for optional import check,
etc.
# TODO
"E721", # Use isinstance for type comparison, too many for now.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]