Skip to content

Commit

Permalink
Format update
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-forte-elastic committed Aug 6, 2024
1 parent e127313 commit 697ffd2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions detection_rules/exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,10 @@ def parse_exceptions_results_from_api(results: List[dict]) -> tuple[dict, dict,
return exceptions_containers, exceptions_items, errors, unparsed_results


def build_exception_objects(
exceptions_containers: List[dict],
exceptions_items: List[dict],
exception_list_rule_table: dict,
exceptions_directory: Path,
save_toml: bool = False,
skip_errors: bool = False,
verbose=False,
) -> Tuple[List[TOMLException], List[str], List[str]]:
def build_exception_objects(exceptions_containers: List[dict], exceptions_items: List[dict],
exception_list_rule_table: dict, exceptions_directory: Path, save_toml: bool = False,
skip_errors: bool = False, verbose=False,
) -> Tuple[List[TOMLException], List[str], List[str]]:
"""Build TOMLException objects from a list of exception dictionaries."""
output = []
errors = []
Expand Down

0 comments on commit 697ffd2

Please sign in to comment.