modules g*: use f-strings (#10958)

* modules g*: use f-strings

* add changelog frag

* remove extraneous to_native()
This commit is contained in:
Alexei Znamensky
2025-10-25 11:54:38 +13:00
committed by GitHub
parent a3987c9844
commit b67e7c83cf
31 changed files with 250 additions and 245 deletions

View File

@@ -165,7 +165,7 @@ def core(module):
project = find_project(gl, gitlab_project)
# project doesn't exist
if not project:
module.fail_json(msg="project '%s' not found." % gitlab_project)
module.fail_json(msg=f"project '{gitlab_project}' not found.")
wished_badge = {
"link_url": module.params["link_url"],