Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection plugins: use f-strings #9322

Merged

Conversation

russoz
Copy link
Collaborator

@russoz russoz commented Dec 23, 2024

SUMMARY

Use f-strings instead of string interpolations or string format().

ISSUE TYPE
  • Refactoring Pull Request
COMPONENT NAME

plugins/connection/chroot.py
plugins/connection/funcd.py
plugins/connection/incus.py
plugins/connection/iocage.py
plugins/connection/jail.py
plugins/connection/lxc.py
plugins/connection/lxd.py
plugins/connection/qubes.py
plugins/connection/saltstack.py
plugins/connection/zone.py

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added connection connection plugin plugins plugin (any type) labels Dec 23, 2024
@felixfontein felixfontein added backport-10 Automatically create a backport for the stable-10 branch check-before-release PR will be looked at again shortly before release and merged if possible. labels Dec 23, 2024
@russoz russoz force-pushed the fstr-connection-plugins branch from 5414451 to 331eef3 Compare December 23, 2024 21:35
@felixfontein felixfontein merged commit d539b00 into ansible-collections:main Dec 24, 2024
129 checks passed
Copy link

patchback bot commented Dec 24, 2024

Backport to stable-10: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-10/d539b00d4c415235ff20ea4d575a47f41ef6511d/pr-9322

Backported as #9358

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Dec 24, 2024
* connection plugins: use f-strings

* add changelog frag

(cherry picked from commit d539b00)
@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Dec 24, 2024
@felixfontein
Copy link
Collaborator

@russoz thanks!

@russoz russoz deleted the fstr-connection-plugins branch December 24, 2024 12:45
felixfontein pushed a commit that referenced this pull request Dec 24, 2024
…ings (#9358)

connection plugins: use f-strings (#9322)

* connection plugins: use f-strings

* add changelog frag

(cherry picked from commit d539b00)

Co-authored-by: Alexei Znamensky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-10 Automatically create a backport for the stable-10 branch connection connection plugin plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants