From 3136aedb9cc30f2cd1f632c84317d7e738ab6f4f Mon Sep 17 00:00:00 2001 From: Corry Haines Date: Mon, 22 Apr 2024 14:12:07 -0700 Subject: [PATCH] Remove blank lines from imports While isort and ruff mostly agree, ruff won't remove blank lines. --- global_helpers/panther_greynoise_helpers.py | 3 +-- global_helpers/panther_lookuptable_helpers.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/global_helpers/panther_greynoise_helpers.py b/global_helpers/panther_greynoise_helpers.py index 46201dc6a..7bedd2c79 100644 --- a/global_helpers/panther_greynoise_helpers.py +++ b/global_helpers/panther_greynoise_helpers.py @@ -4,9 +4,8 @@ from typing import Union from dateutil import parser -from panther_core import PantherEvent - from panther_base_helpers import deep_get +from panther_core import PantherEvent from panther_lookuptable_helpers import LookupTableMatches diff --git a/global_helpers/panther_lookuptable_helpers.py b/global_helpers/panther_lookuptable_helpers.py index a33968402..a5ceac35e 100644 --- a/global_helpers/panther_lookuptable_helpers.py +++ b/global_helpers/panther_lookuptable_helpers.py @@ -1,9 +1,8 @@ from collections.abc import Mapping, Sequence from typing import Optional, Union -from panther_core import PantherEvent - from panther_base_helpers import deep_get +from panther_core import PantherEvent ENRICHMENT_KEY = "p_enrichment" IGNORE_ENRICHMENTS = "p_any_"