From aa740854708a1cc8b1e6738748b4b77dada3ed50 Mon Sep 17 00:00:00 2001 From: rick Date: Thu, 18 Apr 2024 13:15:23 -0400 Subject: [PATCH] corrected lint issues --- plaso/parsers/biome_plugins/app_install.py | 4 ++-- tests/parsers/biome_plugins/test_lib.py | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/plaso/parsers/biome_plugins/app_install.py b/plaso/parsers/biome_plugins/app_install.py index d77bfd2ef8..46421884d2 100644 --- a/plaso/parsers/biome_plugins/app_install.py +++ b/plaso/parsers/biome_plugins/app_install.py @@ -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' @@ -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. diff --git a/tests/parsers/biome_plugins/test_lib.py b/tests/parsers/biome_plugins/test_lib.py index 852e9b50e8..a81836485f 100644 --- a/tests/parsers/biome_plugins/test_lib.py +++ b/tests/parsers/biome_plugins/test_lib.py @@ -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: @@ -30,10 +31,11 @@ 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 + """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.