You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-55480][PYTHON] Remove all unused noqa for ruff
### What changes were proposed in this pull request?
Removed all unused `# noqa` comments for linter
### Why are the changes needed?
We accumulated years of `# noqa` comments for linter. A lot of them are unused (because linter gets smarter). We removed all the unused ones and make `ruff` check for unused noqa in the future - just like `mypy` did.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI, but this should be a comment only change.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes#54264 from gaogaotiantian/remove-unused-noqa.
Authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
This is a list of common, named error classes returned by PySpark which are defined at `error-conditions.json <https://github.com/apache/spark/blob/master/python/pyspark/errors/error-conditions.json>`_.
45
45
46
46
When writing PySpark errors, developers must use an error class from the list. If an appropriate error class is not available, add a new one into the list. For more information, please refer to `Contributing Error and Exception <contributing.rst#contributing-error-and-exception>`_.
0 commit comments