Skip to content

Commit

Permalink
Fix typing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tfiedor committed May 5, 2024
1 parent 8706cb1 commit 2bb3e56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions logki/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ def __init__(self) -> None:
self._buffer_log_start: int = 0
self._buffer_log_end: int = 0

def get_beginning_of_log(self, size=80) -> str:
def get_beginning_of_log(self, size: int = 80) -> str:
"""Returns beginning line for stream"""
assert self.buffered_log is not None
return self.buffered_log.file_path.center(size, "_")

def get_end_of_log(self, size=80) -> str:
def get_end_of_log(self, size: int = 80) -> str:
"""Returns beginning line for stream"""
return "EOF".center(size, "▔")

Expand Down

0 comments on commit 2bb3e56

Please sign in to comment.