Skip to content

Commit d414d65

Browse files
committed
Fix capitalization after :
1 parent ec36f20 commit d414d65

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/clp_logging/auto_generated_kv_pairs_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def generate(
6161
self._buf[ZONED_TIMESTAMP_KEY][ZONED_TIMESTAMP_UTC_EPOCH_MS_KEY] = timestamp
6262
self._buf[ZONED_TIMESTAMP_KEY][ZONED_TIMESTAMP_TZ_KEY] = timezone
6363

64-
# NOTE: we don't serialize all the metadata given by `record`. Currently, we only add the
64+
# WOTE: We don't serialize all the metadata given by `record`. Currently, we only add the
6565
# following metadata into auto-generated kv pairs:
6666
# - log level
6767
# - source context

src/clp_logging/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ def setStream(self, stream: IO[bytes]) -> Optional[IO[bytes]]:
885885
return None
886886
old_stream: IO[bytes] = self._ostream
887887
self._ostream = stream
888-
# TODO: the following call will close the old stream. However, `logging.StreamHandler`'s
888+
# TODO: The following call will close the old stream. However, `logging.StreamHandler`'s
889889
# implementation will only flush the stream but leave it opened. To support this behaviour,
890890
# we need `clp_ffi_py.ir.Serializer` to allow closing the serializer without closing the
891891
# underlying output stream.

tests/test_handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ class TestClpKeyValuePairLoggingBase(unittest.TestCase):
800800
"""
801801
A base class for testing CLP key-value pair handlers.
802802
803-
TODO: functionality wise this class is mirroring `TestCLPBase`. We should refactor `TestCLPBase`
803+
TODO: Functionality wise this class is mirroring `TestCLPBase`. We should refactor `TestCLPBase`
804804
to support both raw-text logging (unstructured logging) and key-value pair logging (structured
805805
logging).
806806
"""
@@ -1070,7 +1070,7 @@ def _test_timeout(
10701070
expected_timeout_count: int = len(expected_timeout_deltas)
10711071
# typing for multiprocess.Synchronized* has open issues
10721072
# https://github.com/python/typeshed/issues/8799
1073-
# TODO: when the issue is closed we should update the typing here
1073+
# TODO: When the issue is closed we should update the typing here
10741074
timeout_ts: SynchronizedArray[c_double] = Array(c_double, [0.0] * expected_timeout_count)
10751075
timeout_count: Synchronized[int] = cast("Synchronized[int]", Value(c_int, 0))
10761076

0 commit comments

Comments
 (0)