Skip to content

Commit 89d7a4f

Browse files
committed
fix: format code
1 parent ef3a765 commit 89d7a4f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/firebase_functions/logger.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ def _entry_from_args(severity: LogSeverity, **kwargs) -> LogEntry:
5050
return {"severity": severity, "message": message}
5151

5252

53-
def _remove_circular(obj: _typing.Any, refs: _typing.Set[_typing.Any] | None = None):
53+
def _remove_circular(obj: _typing.Any,
54+
refs: _typing.Set[_typing.Any] | None = None):
5455
"""
5556
Removes circular references from the given object and replaces them with "[CIRCULAR]".
5657
"""

tests/test_logger.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ class TestLogger:
1111
"""
1212
Tests for the logger module.
1313
"""
14-
def test_format_should_be_valid_json(self, capsys: pytest.CaptureFixture[str]):
14+
15+
def test_format_should_be_valid_json(self,
16+
capsys: pytest.CaptureFixture[str]):
1517
logger.log(foo="bar")
1618
raw_log_output = capsys.readouterr().out
1719
try:

0 commit comments

Comments
 (0)