Skip to content

Commit

Permalink
try that
Browse files Browse the repository at this point in the history
  • Loading branch information
SK1Y101 committed Jul 25, 2024
1 parent d5bcfac commit 6f8cded
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/module_utils/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ def get_mulipart(data):
content += f'Content-Disposition: form-data; name="{k}"{rn}{rn}'
content += str(v)
content += rn
content += f"--{ boundary }--"
content += f"--{boundary}--"
return boundary, content.encode("utf-8")
2 changes: 1 addition & 1 deletion plugins/modules/dns_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def get_match_or_fail(items, key, value, attribute_name):

available_items = ", ".join(x[key] for x in items)
raise errors.MaasError(
f"Can not find matching { attribute_name }. Options are [{ available_items }]"
f"Can not find matching {attribute_name}. Options are [{available_items}]"
)


Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/subnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def get_match_or_fail(items, key, value, attribute_name):

available_items = ", ".join(x[key] for x in items)
raise errors.MaasError(
f"Can not find matching { attribute_name }. Options are [{ available_items }]"
f"Can not find matching {attribute_name}. Options are [{available_items}]"
)


Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/subnet_ip_range.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def ensure_present(module, client: Client):
if not subnet:
available_subnets = ", ".join(x["name"] for x in subnets)
raise errors.MaasError(
f"Can not find matching subnet. Options are [{ available_subnets }]"
f"Can not find matching subnet. Options are [{available_subnets}]"
)

compound_key = {
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ profile = "black"

[tool.flake8]
exclude = ["tests/output/"]
ignore = ["E201", "E202", "E203", "E266", "E402", "E501", "W503", "W504"]
ignore = ["E203", "E266", "E402", "E501", "W503", "W504"]

0 comments on commit 6f8cded

Please sign in to comment.