Skip to content

Commit 2a4141f

Browse files
committed
Fix linter
1 parent dda52b9 commit 2a4141f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ydb/_topic_writer/topic_writer_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def __aenter__(self) -> "WriterAsyncIO":
6767
async def __aexit__(self, exc_type, exc_val, exc_tb):
6868
try:
6969
await self.close()
70-
except BaseException as e:
70+
except BaseException:
7171
if exc_val is None:
7272
raise
7373

ydb/_topic_writer/topic_writer_sync.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from concurrent.futures import Future
66
from typing import Union, List, Optional
77

8-
import ydb
98
from .._grpc.grpcwrapper.common_utils import SupportedDriverType
109
from .topic_writer import (
1110
PublicWriterSettings,
@@ -59,7 +58,7 @@ def __enter__(self):
5958
def __exit__(self, exc_type, exc_val, exc_tb):
6059
try:
6160
self.close()
62-
except BaseException as e:
61+
except BaseException:
6362
if exc_val is None:
6463
raise
6564

0 commit comments

Comments
 (0)