Skip to content

Commit

Permalink
Autoformat code using black
Browse files Browse the repository at this point in the history
  • Loading branch information
haidaraM authored and github-actions[bot] committed Mar 23, 2024
1 parent 98b406b commit 2aaf901
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
10 changes: 5 additions & 5 deletions ansibleplaybookgrapher/grapher.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ def __init__(self, playbook_filenames: List[str]):
self.playbook_filenames = playbook_filenames

def parse(
self,
include_role_tasks: bool = False,
tags: List[str] = None,
skip_tags: List[str] = None,
group_roles_by_name: bool = False,
self,
include_role_tasks: bool = False,
tags: List[str] = None,
skip_tags: List[str] = None,
group_roles_by_name: bool = False,
) -> Tuple[List[PlaybookNode], Dict[RoleNode, Set[PlayNode]]]:
"""
Parses all the provided playbooks
Expand Down
8 changes: 7 additions & 1 deletion ansibleplaybookgrapher/renderer/mermaid.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@

from ansible.utils.display import Display

from ansibleplaybookgrapher.graph_model import BlockNode, RoleNode, TaskNode, PlayNode, PlaybookNode
from ansibleplaybookgrapher.graph_model import (
BlockNode,
RoleNode,
TaskNode,
PlayNode,
PlaybookNode,
)
from ansibleplaybookgrapher.renderer import PlaybookBuilder, Renderer

display = Display()
Expand Down

0 comments on commit 2aaf901

Please sign in to comment.