Skip to content

Commit ff29149

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

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/molecule_plugins/vagrant/modules/vagrant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def _get_instance_vagrant_config_dict(self, instance):
593593
net_name = iface["network_name"]
594594
if net_name not in VAGRANT_VALID_NETNAMES:
595595
self._module.fail_json(
596-
msg=f"Invalid network_name value {net_name}."
596+
msg=f"Invalid network_name value {net_name}.",
597597
)
598598
net = {}
599599
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)