Skip to content

Commit 1220295

Browse files
authored
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. -->
1 parent 551fc5d commit 1220295

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pyiceberg/expressions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class Term(Generic[L], ABC):
131131
"""A simple expression that evaluates to a value."""
132132

133133

134-
class Bound(ABC):
134+
class Bound:
135135
"""Represents a bound value expression."""
136136

137137

pyiceberg/table/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,7 @@ def with_case_sensitive(self: S, case_sensitive: bool = True) -> S:
17831783
def count(self) -> int: ...
17841784

17851785

1786-
class ScanTask(ABC):
1786+
class ScanTask:
17871787
pass
17881788

17891789

ruff.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ select = [
5959
]
6060
ignore = [
6161
"E501",
62-
"B024",
6362
"B028",
6463
"UP037",
6564
"UP035",

0 commit comments

Comments
 (0)