From 0026fc8fbaee7913982c7a025971d83cec582339 Mon Sep 17 00:00:00 2001 From: Jia Yu Date: Mon, 18 May 2026 13:00:25 -0700 Subject: [PATCH] Fix pre-commit black formatting and drop stale workflow badge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Reformat sedona_raster.py per black-jupyter (collapse multi-line raise) - Remove First Interaction badge from README — workflow was deleted in #2965 --- README.md | 1 - python/sedona/spark/raster/sedona_raster.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 050fe6f2fe7..6028c7fa4ad 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ [![Docker image build](https://github.com/apache/sedona/actions/workflows/docker-build.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/docker-build.yml) [![Docs build](https://github.com/apache/sedona/actions/workflows/docs.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/docs.yml) [![Example project build](https://github.com/apache/sedona/actions/workflows/example.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/example.yml) -[![First Interaction Workflow Status](https://github.com/apache/sedona/actions/workflows/first-interaction.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/first-interaction.yml) [![Manual Hooks Workflow Status](https://github.com/apache/sedona/actions/workflows/pre-commit-manual.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/pre-commit-manual.yml) [![Pre-commit Workflow Status](https://github.com/apache/sedona/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/pre-commit.yml) [![Python build](https://github.com/apache/sedona/actions/workflows/python.yml/badge.svg)](https://github.com/apache/sedona/actions/workflows/python.yml) diff --git a/python/sedona/spark/raster/sedona_raster.py b/python/sedona/spark/raster/sedona_raster.py index 4b6c2f0af02..855b38cccea 100644 --- a/python/sedona/spark/raster/sedona_raster.py +++ b/python/sedona/spark/raster/sedona_raster.py @@ -258,9 +258,7 @@ def with_bands(self, new_data: np.ndarray) -> "SedonaRaster": Only supported on InDbSedonaRaster. """ - raise TypeError( - f"with_bands() is not supported on {type(self).__name__}." - ) + raise TypeError(f"with_bands() is not supported on {type(self).__name__}.") def __enter__(self): return self