This is an automated email from the ASF dual-hosted git repository.

kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git


The following commit(s) were added to refs/heads/main by this push:
     new 12202958b Renable linter rule B024 (#2737)
12202958b is described below

commit 12202958b8f7cb197747e2bd9d0c2b1a02667938
Author: Alex Stephen <[email protected]>
AuthorDate: Wed Nov 12 04:32:38 2025 +0530

    Renable linter rule B024 (#2737)
    
    <!--
    Thanks for opening a pull request!
    -->
    
    Part of #2700
    <!-- In the case this PR will resolve an issue, please replace
    ${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
    <!-- Closes #${GITHUB_ISSUE_ID} -->
    
    # Rationale for this change
    We're trying to re-enable all of the Ruff linter rules. B024 is
    abstract-base-class-without-abstract-method
    
    ## Are these changes tested?
    `make lint` and tests should still pass.
    
    ## Are there any user-facing changes?
    
    <!-- In the case of user-facing changes, please add the changelog label.
    -->
---
 pyiceberg/expressions/__init__.py | 2 +-
 pyiceberg/table/__init__.py       | 2 +-
 ruff.toml                         | 1 -
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/pyiceberg/expressions/__init__.py 
b/pyiceberg/expressions/__init__.py
index 330d22b1a..45486c3a3 100644
--- a/pyiceberg/expressions/__init__.py
+++ b/pyiceberg/expressions/__init__.py
@@ -131,7 +131,7 @@ class Term(Generic[L], ABC):
     """A simple expression that evaluates to a value."""
 
 
-class Bound(ABC):
+class Bound:
     """Represents a bound value expression."""
 
 
diff --git a/pyiceberg/table/__init__.py b/pyiceberg/table/__init__.py
index cc7c1c6af..942e99db8 100644
--- a/pyiceberg/table/__init__.py
+++ b/pyiceberg/table/__init__.py
@@ -1783,7 +1783,7 @@ class TableScan(ABC):
     def count(self) -> int: ...
 
 
-class ScanTask(ABC):
+class ScanTask:
     pass
 
 
diff --git a/ruff.toml b/ruff.toml
index ab0ef4f90..df6d402e6 100644
--- a/ruff.toml
+++ b/ruff.toml
@@ -59,7 +59,6 @@ select = [
 ]
 ignore = [
     "E501",
-    "B024",
     "B028",
     "UP037",
     "UP035",

Reply via email to