Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Dec 9, 2024
1 parent cba27a7 commit c8342ff
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions logprep/processor/timestamp_differ/rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
Rule Configuration
^^^^^^^^^^^^^^^^^^
The timestamp format can be specified per timestamp. Following patterns can be used to define the
timestamp format:
`Timestamp tokens <https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes>`_.
The timestamp format can be specified per timestamp.
A speaking example:
Expand Down Expand Up @@ -69,8 +67,8 @@ class Config(FieldManagerRule.Config):
and the timestamp format can be specified in the form of:
:code:`${dotted.field.path:timestamp-format}`. If no timestamp format is given, e.g.
:code:`${dotted.field.path}`, the string will be assumed as an iso8601 compliant string and
parsed. For more information on the format syntax see
`datetime strftime/strptime <https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes>`_."""
parsed. For more information on the format syntax see `datetime strftime/strptime
<https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes>`_."""
source_fields: list = field(factory=list)
source_field_formats: list = field(factory=list)
output_format: str = field(
Expand Down

0 comments on commit c8342ff

Please sign in to comment.