Skip to content

Commit

Permalink
autoformatted code with black-with-tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahammurciano committed Jan 14, 2022
1 parent 3b17f44 commit 3e8ee85
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion discord_lumberjack/handlers/discord_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ def _assert_messages_sent(self):
"""
self.__queue.join()
if self.__exception:
raise self.__exception
raise self.__exception
2 changes: 1 addition & 1 deletion discord_lumberjack/message_creators/chunks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@


def chunks(seq: Sequence[T], chunk_size: int) -> Iterable[Sequence[T]]:
return (seq[pos : pos + chunk_size] for pos in range(0, len(seq), chunk_size))
return (seq[pos : pos + chunk_size] for pos in range(0, len(seq), chunk_size))
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,4 @@ def __fix_fields(self, embed: Embed) -> None:
if not field["name"]:
field["name"] = "-"
if not field["value"]:
field["value"] = "-"
field["value"] = "-"
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ def function_that_raises() -> Callable[[], None]:
def _function_that_raises():
raise ValueError("This is a test ValueError exception.")

return _function_that_raises
return _function_that_raises
2 changes: 1 addition & 1 deletion tests/test_message_creators.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def test_long_log_message(logger: Logger):
logger.info(
"This is a long message that should be split into multiple messages." * 100
)
assert_messages_sent(logger)
assert_messages_sent(logger)

0 comments on commit 3e8ee85

Please sign in to comment.