File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ def __del__(self):
386
386
"""Delete the pool."""
387
387
try :
388
388
self .close ()
389
- except : # builtin Exceptions might not exist anymore
389
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
390
390
pass
391
391
392
392
def _wait_lock (self ):
@@ -433,7 +433,7 @@ def __del__(self):
433
433
"""Delete the pooled connection."""
434
434
try :
435
435
self .close ()
436
- except : # builtin Exceptions might not exist anymore
436
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
437
437
pass
438
438
439
439
def __enter__ (self ):
@@ -525,7 +525,7 @@ def __del__(self):
525
525
"""Delete the pooled connection."""
526
526
try :
527
527
self .close ()
528
- except : # builtin Exceptions might not exist anymore
528
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
529
529
pass
530
530
531
531
def __enter__ (self ):
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ def __del__(self):
250
250
"""Delete the pool."""
251
251
try :
252
252
self .close ()
253
- except : # builtin Exceptions might not exist anymore
253
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
254
254
pass
255
255
256
256
@@ -296,7 +296,7 @@ def __del__(self):
296
296
"""Delete the pooled connection."""
297
297
try :
298
298
self .close ()
299
- except : # builtin Exceptions might not exist anymore
299
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
300
300
pass
301
301
302
302
def __enter__ (self ):
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ def __del__(self):
518
518
"""Delete the steady connection."""
519
519
try :
520
520
self ._close () # make sure the connection is closed
521
- except : # builtin Exceptions might not exist anymore
521
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
522
522
pass
523
523
524
524
@@ -709,5 +709,5 @@ def __del__(self):
709
709
"""Delete the steady cursor."""
710
710
try :
711
711
self .close () # make sure the cursor is closed
712
- except : # builtin Exceptions might not exist anymore
712
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
713
713
pass
Original file line number Diff line number Diff line change @@ -305,5 +305,5 @@ def __del__(self):
305
305
"""Delete the steady connection."""
306
306
try :
307
307
self ._close () # make sure the connection is closed
308
- except : # builtin Exceptions might not exist anymore
308
+ except : # noqa: E722 - builtin Exceptions might not exist anymore
309
309
pass
Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ select = [
106
106
]
107
107
# You can use `ruff rule ...` to see what these ignored rules check
108
108
ignore = [
109
- " E722" ,
110
109
" N811" ,
111
110
" N818" ,
112
111
" PIE790" ,
You can’t perform that action at this time.
0 commit comments