From 822536a1cb59cebe6e0b02a17ed58b3789f0ca18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donncha=20=C3=93=20Cearbhaill?= Date: Mon, 30 Sep 2024 12:40:15 +0200 Subject: [PATCH] Add formating change made by ruff linter --- pyproject.toml | 1 - src/mvt/ios/modules/mixed/webkit_resource_load_statistics.py | 4 +++- tests/conftest.py | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9b0229d..16ac8f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -92,7 +92,6 @@ max-complexity = 10 include-package-data = true package-dir = {"" = "src"} - [tool.setuptools.packages.find] where = ["src"] diff --git a/src/mvt/ios/modules/mixed/webkit_resource_load_statistics.py b/src/mvt/ios/modules/mixed/webkit_resource_load_statistics.py index f5beec6..06cf527 100644 --- a/src/mvt/ios/modules/mixed/webkit_resource_load_statistics.py +++ b/src/mvt/ios/modules/mixed/webkit_resource_load_statistics.py @@ -12,7 +12,9 @@ from mvt.common.utils import convert_unix_to_iso from ..base import IOSExtraction -WEBKIT_RESOURCELOADSTATICS_BACKUP_RELPATH = "Library/WebKit/WebsiteData/ResourceLoadStatistics/observations.db" # pylint: disable=line-too-long +WEBKIT_RESOURCELOADSTATICS_BACKUP_RELPATH = ( + "Library/WebKit/WebsiteData/ResourceLoadStatistics/observations.db" # pylint: disable=line-too-long +) WEBKIT_RESOURCELOADSTATICS_ROOT_PATHS = [ "private/var/mobile/Containers/Data/Application/*/Library/WebKit/WebsiteData/ResourceLoadStatistics/observations.db", # pylint: disable=line-too-long "private/var/mobile/Containers/Data/Application/*/SystemData/com.apple.SafariViewService/Library/WebKit/WebsiteData/observations.db", # pylint: disable=line-too-long diff --git a/tests/conftest.py b/tests/conftest.py index 16e5f37..3e564c2 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -40,7 +40,6 @@ def indicators_factory(indicator_file): android_property_names=[], files_sha256=[], ): - ind = Indicators(log=logging.getLogger()) ind.parse_stix2(indicator_file)