Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-forte-elastic committed Aug 6, 2024
1 parent eb9a7a6 commit e127313
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion detection_rules/action_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def parse_action_connector_results_from_api(results: List[dict]) -> tuple[List[d


def build_action_connector_objects(action_connectors: List[dict], action_connector_rule_table: dict,
action_connectors_directory: Path, save_toml: bool = False,
action_connectors_directory: Path, save_toml: bool = False,
skip_errors: bool = False, verbose=False,
) -> Tuple[List[TOMLActionConnector], List[str], List[str]]:
"""Build TOMLActionConnector objects from a list of action connector dictionaries."""
Expand Down
2 changes: 1 addition & 1 deletion detection_rules/kbwrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def kibana_import_rules(ctx: click.Context, rules: RuleCollection, overwrite: Op
@click.option("--strip-version", "-sv", is_flag=True, help="Strip the version fields from all rules")
@click.pass_context
def kibana_export_rules(ctx: click.Context, directory: Path, action_connectors_directory: Optional[Path],
exceptions_directory: Optional[Path], default_author: str,
exceptions_directory: Optional[Path], default_author: str,
rule_id: Optional[Iterable[str]] = None, export_action_connectors: bool = False,
export_exceptions: bool = False, skip_errors: bool = False, strip_version: bool = False
) -> List[TOMLRule]:
Expand Down

0 comments on commit e127313

Please sign in to comment.