Skip to content

Commit 9daad92

Browse files
committed
Revert "[SPARK-54632][INFRA][FOLLOW-UP] Enable ruff on our CI and lint-python"
This reverts commit 19ec991.
1 parent 6cec3c3 commit 9daad92

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

dev/lint-python

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ if [[ -z "$COMPILE_TEST$BLACK_TEST$PYSPARK_CUSTOM_ERRORS_CHECK_TEST$FLAKE8_TEST$
7979
BLACK_TEST=true
8080
PYSPARK_CUSTOM_ERRORS_CHECK_TEST=true
8181
FLAKE8_TEST=true
82-
RUFF_TEST=true
8382
MYPY_TEST=true
8483
MYPY_EXAMPLES_TEST=true
8584
MYPY_DATA_TEST=true

dev/spark-test-image/lint/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11
8080
RUN python3.11 -m pip install \
8181
'black==23.12.1' \
8282
'flake8==3.9.0' \
83-
'ruff==0.14.8' \
8483
'googleapis-common-protos-stubs==2.2.0' \
8584
'grpc-stubs==1.24.11' \
8685
'grpcio-status==1.76.0' \

python/pyspark/sql/tests/arrow/test_arrow_udf_typehints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def multiply_pandas(a: pd.Series, b: pd.Series) -> pd.Series:
461461

462462

463463
if __name__ == "__main__":
464-
from pyspark.sql.tests.arrow.test_arrow_udf_typehints import * # noqa: F401
464+
from pyspark.sql.tests.arrow.test_arrow_udf_typehints import * # noqa: #F401
465465

466466
try:
467467
import xmlrunner

python/pyspark/sql/tests/pandas/test_pandas_udf_typehints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def multiply_arrow(a: pa.Array, b: pa.Array) -> pa.Array:
444444

445445

446446
if __name__ == "__main__":
447-
from pyspark.sql.tests.pandas.test_pandas_udf_typehints import * # noqa: F401
447+
from pyspark.sql.tests.pandas.test_pandas_udf_typehints import * # noqa: #F401
448448

449449
try:
450450
import xmlrunner

python/pyspark/sql/tests/pandas/test_pandas_udf_typehints_with_future_annotations.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,7 @@ def func(col: "Union[pd.Series, pd.DataFrame]", *, col2: "pd.DataFrame") -> "pd.
367367

368368

369369
if __name__ == "__main__":
370-
# E501: line too long
371-
from pyspark.sql.tests.pandas.test_pandas_udf_typehints_with_future_annotations import * # noqa: F401, E501
370+
from pyspark.sql.tests.pandas.test_pandas_udf_typehints_with_future_annotations import * # noqa: #F401
372371

373372
try:
374373
import xmlrunner

0 commit comments

Comments
 (0)