Skip to content

Commit 02abef5

Browse files
authored
chore: remove ABC from SnapshotComparator (#671)
1 parent 4a9695d commit 02abef5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/syrupy/extensions/base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,16 +183,16 @@ def delete_snapshots(
183183
"""
184184
raise NotImplementedError
185185

186-
def _pre_read(self, *, index: "SnapshotIndex" = 0) -> None:
186+
def _pre_read(self, *, index: "SnapshotIndex" = 0) -> None: # noqa: B027
187187
pass
188188

189-
def _post_read(self, *, index: "SnapshotIndex" = 0) -> None:
189+
def _post_read(self, *, index: "SnapshotIndex" = 0) -> None: # noqa: B027
190190
pass
191191

192192
def _pre_write(self, *, data: "SerializedData", index: "SnapshotIndex" = 0) -> None:
193193
self.__ensure_snapshot_dir(index=index)
194194

195-
def _post_write(
195+
def _post_write( # noqa: B027
196196
self, *, data: "SerializedData", index: "SnapshotIndex" = 0
197197
) -> None:
198198
pass
@@ -390,7 +390,7 @@ def __strip_ends(self, line: str) -> str:
390390
return line.rstrip("".join(self._ends.keys()))
391391

392392

393-
class SnapshotComparator(ABC):
393+
class SnapshotComparator:
394394
def matches(
395395
self,
396396
*,

0 commit comments

Comments
 (0)