Skip to content

Commit

Permalink
Avoid linter B027 empty-method-without-abstract-decorator on purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
euri10 committed Feb 14, 2024
1 parent 18c4aba commit 702d5ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litestar/stores/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ async def expires_in(self, key: str) -> int | None:
"""
raise NotImplementedError

async def __aenter__(self) -> None:
async def __aenter__(self) -> None: # noqa: B027
pass

async def __aexit__(
async def __aexit__( # noqa: B027
self,
exc_type: type[BaseException] | None,
exc_val: BaseException | None,
Expand Down

0 comments on commit 702d5ef

Please sign in to comment.