Skip to content

Commit 3009f5a

Browse files
fix: remove unnecessary pass statements from exception classes
A class body with just a docstring is valid Python -- the pass statements were noise. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fd62963 commit 3009f5a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/dqliteclient/exceptions.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,21 @@
44
class DqliteError(Exception):
55
"""Base exception for dqlite client errors."""
66

7-
pass
87

98

109
class DqliteConnectionError(DqliteError):
1110
"""Error establishing or maintaining connection."""
1211

13-
pass
1412

1513

1614
class ProtocolError(DqliteError):
1715
"""Protocol-level error."""
1816

19-
pass
2017

2118

2219
class ClusterError(DqliteError):
2320
"""Cluster-related error (leader not found, etc)."""
2421

25-
pass
2622

2723

2824
class OperationalError(DqliteError):

0 commit comments

Comments
 (0)