Skip to content

Commit

Permalink
Auto lint and format using ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
haidaraM authored and github-actions[bot] committed Sep 7, 2024
1 parent 876248d commit 02ccc4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansibleplaybookgrapher/graph_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import os
from collections import defaultdict
from dataclasses import dataclass, asdict
from typing import Dict, List, Set, Tuple, Optional, TypedDict
from typing import Dict, List, Set, Tuple, Optional

from ansibleplaybookgrapher.utils import generate_id, get_play_colors

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def read_requirements(path):
package_data={"ansible-playbook-grapher": ["data/*"]},
include_package_data=True,
download_url="https://github.com/haidaraM/ansible-playbook-grapher/archive/v"
+ __version__
+ ".tar.gz",
+ __version__
+ ".tar.gz",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down
3 changes: 1 addition & 2 deletions tests/test_json_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ def test_with_block(request):
ids=["no_group", "group"],
)
def test_group_roles_by_name(
request, flag,
roles_number, tasks_number, post_tasks_number
request, flag, roles_number, tasks_number, post_tasks_number
):
"""
Test when grouping roles by name. This doesn't really affect the JSON renderer: multiple nodes will have the same ID.
Expand Down

0 comments on commit 02ccc4a

Please sign in to comment.