diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a9c1d5b..1593c2f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.2 + rev: v0.3.2 hooks: - id: ruff args: [--fix, --show-fixes] diff --git a/pycrdt_websocket/ystore.py b/pycrdt_websocket/ystore.py index ab74d23..d746dba 100644 --- a/pycrdt_websocket/ystore.py +++ b/pycrdt_websocket/ystore.py @@ -33,12 +33,10 @@ class BaseYStore(ABC): @abstractmethod def __init__( self, path: str, metadata_callback: Callable[[], Awaitable[bytes] | bytes] | None = None - ): - ... + ): ... @abstractmethod - async def write(self, data: bytes) -> None: - ... + async def write(self, data: bytes) -> None: ... @abstractmethod async def read(self) -> AsyncIterator[tuple[bytes, bytes, float]]: