Skip to content

Commit a09484f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8be3b3e commit a09484f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/molecule_plugins/vagrant/modules/vagrant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ def _get_instance_vagrant_config_dict(self, instance):
621621
net_name = iface["network_name"]
622622
if net_name not in VAGRANT_VALID_NETNAMES:
623623
self._module.fail_json(
624-
msg=f"Invalid network_name value {net_name}."
624+
msg=f"Invalid network_name value {net_name}.",
625625
)
626626
net = {}
627627
net["name"] = net_name

test/vagrant/functional/test_func.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_invalid_settings(temp_dir):
102102
)
103103
def test_invalid_network_name(temp_dir):
104104
scenario_directory = os.path.join(
105-
os.path.dirname(util.abs_path(__file__)), os.path.pardir, "scenarios"
105+
os.path.dirname(util.abs_path(__file__)), os.path.pardir, "scenarios",
106106
)
107107

108108
with change_dir_to(scenario_directory):
@@ -114,7 +114,7 @@ def test_invalid_network_name(temp_dir):
114114

115115

116116
@pytest.mark.skipif(
117-
not is_vagrant_supported(), reason="vagrant not supported on this machine"
117+
not is_vagrant_supported(), reason="vagrant not supported on this machine",
118118
)
119119
@pytest.mark.parametrize(
120120
"scenario",

test/vagrant/scenarios/molecule/invalid_net/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
gather_facts: false
55
become: true
66
tasks:
7-
- name: Sample task # noqa command-instead-of-shell
7+
- name: Sample task # noqa command-instead-of-shell
88
ansible.builtin.shell:
99
cmd: uname
1010
changed_when: false

0 commit comments

Comments
 (0)