Skip to content

Commit 18548c7

Browse files
Antony BaileyAntony Bailey
authored andcommitted
black format
1 parent 06b1aef commit 18548c7

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/pysqly/core/executor.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ def execute(self, query: str) -> Any:
5858
)
5959
return self._run_query(parsed_query)
6060
except Exception as e:
61-
raise SQLYExecutionError(
62-
f"Failed to process SQLY query: {str(e)}"
63-
) from e
61+
raise SQLYExecutionError(f"Failed to process SQLY query: {str(e)}") from e
6462

6563
def _run_query(self, parsed_query: Dict[str, Any]) -> Any:
6664
"""

src/pysqly/errors/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Base exception classes for pySQLY."""
22

3+
34
class SQLYError(Exception):
45
"""
56
Exception raised for errors related to SQLY operations.
@@ -8,4 +9,5 @@ class SQLYError(Exception):
89
SQLY-related errors. It can be used to catch all SQLY-specific
910
exceptions in a single except block.
1011
"""
12+
1113
pass

src/pysqly/errors/execution.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ class SQLYExecutionError(SQLYError):
1010
Attributes:
1111
message -- explanation of the error
1212
"""
13+
1314
pass

src/pysqly/errors/parse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ class SQLYParseError(SQLYError):
1010
Attributes:
1111
message -- explanation of the error
1212
"""
13+
1314
pass

0 commit comments

Comments
 (0)