Skip to content

Commit

Permalink
style(lint): disagreement flake8 didn't like black output
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz committed Nov 18, 2023
1 parent 7ba2f71 commit 85a5579
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions silverback/persistence.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ async def set_instance_state(
await state.set(
# Unreported type error? Confiremd working
{
SilverbackStateDoc.last_block_seen: last_block_seen, # type: ignore
SilverbackStateDoc.last_block_processed: last_block_processed, # type: ignore
SilverbackStateDoc.updated: now_utc, # type: ignore
SilverbackStateDoc.last_block_seen: last_block_seen, # type: ignore # noqa: E501
SilverbackStateDoc.last_block_processed: last_block_processed, # type: ignore # noqa: E501
SilverbackStateDoc.updated: now_utc, # type: ignore # noqa: E501
}
)
else:
Expand Down
5 changes: 4 additions & 1 deletion silverback/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ async def _checkpoint(
or last_block_processed > self.last_block_processed
):
logger.debug(
f"Checkpoint block [seen={self.last_block_seen}, procssed={self.last_block_processed}]"
(
f"Checkpoint block [seen={self.last_block_seen}, "
f"procssed={self.last_block_processed}]"
)
)
self.last_block_seen = max(last_block_seen, self.last_block_seen)
self.last_block_processed = max(last_block_processed, self.last_block_processed)
Expand Down

0 comments on commit 85a5579

Please sign in to comment.