@@ -269,7 +269,7 @@ def _creator(
269
269
270
270
# mypy seems to get super confused assigning functions to
271
271
# attributes
272
- self ._invoke_creator = self ._should_wrap_creator (creator ) # type: ignore # noqa E501
272
+ self ._invoke_creator = self ._should_wrap_creator (creator ) # type: ignore # noqa: E501
273
273
274
274
@_creator .deleter
275
275
def _creator (self ) -> None :
@@ -609,7 +609,7 @@ def __init__(self, pool: Pool, connect: bool = True):
609
609
dbapi_connection : Optional [DBAPIConnection ]
610
610
611
611
@property
612
- def driver_connection (self ) -> Optional [Any ]: # type: ignore[override] # mypy#4125 # noqa E501
612
+ def driver_connection (self ) -> Optional [Any ]: # type: ignore[override] # mypy#4125 # noqa: E501
613
613
if self .dbapi_connection is None :
614
614
return None
615
615
else :
@@ -632,7 +632,7 @@ def info(self) -> Dict[str, Any]: # type: ignore[override] # mypy#4125
632
632
return {}
633
633
634
634
@util .memoized_property
635
- def record_info (self ) -> Optional [Dict [str , Any ]]: # type: ignore[override] # mypy#4125 # noqa E501
635
+ def record_info (self ) -> Optional [Dict [str , Any ]]: # type: ignore[override] # mypy#4125 # noqa: E501
636
636
return {}
637
637
638
638
@classmethod
@@ -1081,7 +1081,7 @@ def invalidate(
1081
1081
self ._is_valid = False
1082
1082
1083
1083
@property
1084
- def record_info (self ) -> Optional [Dict [str , Any ]]: # type: ignore[override] # mypy#4125 # noqa E501
1084
+ def record_info (self ) -> Optional [Dict [str , Any ]]: # type: ignore[override] # mypy#4125 # noqa: E501
1085
1085
return self ._connection_record .record_info
1086
1086
1087
1087
def cursor (self , * args : Any , ** kwargs : Any ) -> DBAPICursor :
@@ -1147,7 +1147,7 @@ def __init__(
1147
1147
_connection_record : Optional [_ConnectionRecord ]
1148
1148
1149
1149
@property
1150
- def driver_connection (self ) -> Optional [Any ]: # type: ignore[override] # mypy#4125 # noqa E501
1150
+ def driver_connection (self ) -> Optional [Any ]: # type: ignore[override] # mypy#4125 # noqa: E501
1151
1151
if self ._connection_record is None :
1152
1152
return None
1153
1153
return self ._connection_record .driver_connection
@@ -1322,7 +1322,7 @@ def info(self) -> Dict[str, Any]: # type: ignore[override] # mypy#4125
1322
1322
return self ._connection_record .info
1323
1323
1324
1324
@property
1325
- def record_info (self ) -> Optional [Dict [str , Any ]]: # type: ignore[override] # mypy#4125 # noqa E501
1325
+ def record_info (self ) -> Optional [Dict [str , Any ]]: # type: ignore[override] # mypy#4125 # noqa: E501
1326
1326
if self ._connection_record is None :
1327
1327
return None
1328
1328
else :
0 commit comments