Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 27, 2024
1 parent e83b4c7 commit de6f483
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ Name | Description
[cisco.iosxr.iosxr_static_routes](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_static_routes_module.rst)|Resource module to configure static routes.
[cisco.iosxr.iosxr_system](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_system_module.rst)|Module to manage the system attributes.
[cisco.iosxr.iosxr_user](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_user_module.rst)|Module to manage the aggregates of local users.
[cisco.iosxr.iosxr_vrf_address_family](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_vrf_address_family_module.rst)|Resource module to configure VRF Address family.
[cisco.iosxr.iosxr_vrf_global](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_vrf_global_module.rst)|Manages global VRF configuration.
[cisco.iosxr.iosxr_vrfs](https://github.com/ansible-collections/cisco.iosxr/blob/main/docs/cisco.iosxr.iosxr_vrfs_module.rst)|Manages global VRF configuration.

<!--end collection content-->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def generate_commands(self):
adrf = wantd.get(vrfk, {}).get("address_families", {})
if afk in adrf or not adrf:
self.addcmd(
{"name" : vrfk},
{"name": vrfk},
"name",
False,
)
Expand All @@ -106,7 +106,7 @@ def generate_commands(self):
wantx = wantd.get(vrfk, {}).get("address_families", {})
if k not in wantx:
self.addcmd(
{"name" : vrfk},
{"name": vrfk},
"name",
False,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def populate_facts(self, connection, ansible_facts, data=None):

# parse native config using the Vrf_address_family template
vrf_address_family_parser = Vrf_address_familyTemplate(
lines=data.splitlines(), module=self._module
lines=data.splitlines(),
module=self._module,
)
obj = vrf_address_family_parser.parse()
objs = list(obj.values())
Expand Down

0 comments on commit de6f483

Please sign in to comment.