Skip to content

Commit

Permalink
corrected lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rick committed Apr 18, 2024
1 parent 1acbb7e commit 7bc575b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions plaso/parsers/biome_plugins/app_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ApplicationInstallAppleBiomeEvent(events.EventData):
bundle_identifier (str): bundle identifier of the application.
event_time (dfdatetime.DateTimeValues): date and time when the application
was installed.
"""
"""

DATA_TYPE = 'apple:biome:app_install'

Expand Down Expand Up @@ -85,7 +85,7 @@ class ApplicationInstallBiomePlugin(interface.AppleBiomePlugin):
# pylint: disable=unused-argument
def Process(self, parser_mediator, biome_file=None, **unused_kwargs):
"""Extracts information from an Apple biome file. This is the main method
that an Apple biome file plugin needs to implement.
that an Apple biome file plugin needs to implement.
Args:
parser_mediator (ParserMediator): parser mediator.
Expand Down
9 changes: 5 additions & 4 deletions tests/parsers/biome_plugins/test_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class AppleBiomeTestCase(test_lib.ParserTestCase):
"""Apple biome plugin test case."""
def _OpenAppleBiomeFile(self, path_segments):
"""Opens an Apple biome log file.
Args:
path_segments (list[str]): path segments inside the test data directory.
Returns:
Expand All @@ -30,10 +31,10 @@ def _OpenAppleBiomeFile(self, path_segments):
return apple_biome_file

def _ParseAppleBiomeFileWithPlugin(self, path_segments, plugin):
"""Parses a file as an Apple biome file and returns an event generator.
This method will first test if the Apple biome file has the required schema
using plugin.CheckRequiredSchema() and then extracts events using
plugin.Process().
"""Parses a file as an Apple biome file and returns an event generator. This
method will first test if the Apple biome file has the required schema using
plugin.CheckRequiredSchema() and then extracts events using plugin.Process().
Args:
path_segments (list[str]): path segments inside the test data directory.
plugin (AppleBiomePlugin): Apple biome file plugin.
Expand Down

0 comments on commit 7bc575b

Please sign in to comment.