Skip to content

Commit ea70c8e

Browse files
committed
Normalize whitespace and add newline in logging.py
Cleanup formatting in ratelink/observability/logging.py: remove extraneous blank lines and trailing spaces around the _include_hostname/_lock assignment and ensure the file ends with a newline. No functional changes.
1 parent bf0b8b0 commit ea70c8e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ratelink/observability/logging.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def __init__(
2626
self._log_violations = log_violations
2727
self._log_config_changes = log_config_changes
2828
self._include_timestamp = include_timestamp
29-
self._include_hostname = include_hostname
30-
29+
self._include_hostname = include_hostname
3130
self._lock = Lock()
31+
3232
if not json:
3333
self._logger = logging.getLogger("rate_limiter.audit")
3434
self._logger.setLevel(level)
@@ -194,4 +194,4 @@ def log_custom(
194194
def close(self) -> None:
195195
if self._sink and self._sink not in (sys.stdout, sys.stderr):
196196
if isinstance(self._sink, TextIOBase):
197-
self._sink.close()
197+
self._sink.close()

0 commit comments

Comments
 (0)