Skip to content

Commit bf3acdb

Browse files
committed
lint changes
1 parent 95b43ad commit bf3acdb

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

aikido_zen/sinks/sqlite3.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
)
1313

1414

15-
1615
@before
1716
def _execute(func, instance, args, kwargs):
1817
op = f"sqlite3.{type(instance).__name__}.{func.__name__}"
@@ -46,9 +45,7 @@ def _cursor_patch(func, instance, args, kwargs):
4645

4746
def _connect(func, instance, args, kwargs):
4847
factory = get_argument(args, kwargs, 5, "factory") or _sqlite3.Connection
49-
connection_patches = {
50-
"cursor": _cursor_patch
51-
}
48+
connection_patches = {"cursor": _cursor_patch}
5249

5350
# In Python 3.11, the sqlite3 module was fully moved to C. Hence the extra patches
5451
if sys.version_info >= (3, 11):

0 commit comments

Comments
 (0)