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

become plugins: use f-strings #9319

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/become/doas.py
plugins/become/dzdo.py
plugins/become/ksu.py
plugins/become/machinectl.py
plugins/become/pbrun.py
plugins/become/pfexec.py
plugins/become/pmrun.py
plugins/become/sesu.py
plugins/become/sudosu.py

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added become become 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
@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Dec 23, 2024
@felixfontein felixfontein merged commit c7edf0a into ansible-collections:main Dec 23, 2024
129 checks passed
Copy link

patchback bot commented Dec 23, 2024

Backport to stable-10: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-10/c7edf0a87b38fc8ef2058638efd9c2d5a0bdf492/pr-9319

Backported as #9330

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

@felixfontein
Copy link
Collaborator

@russoz thanks!

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

* add changelog frag

(cherry picked from commit c7edf0a)
@russoz russoz deleted the fstr-become-plugins branch December 23, 2024 09:42
felixfontein pushed a commit that referenced this pull request Dec 23, 2024
…#9330)

become plugins: use f-strings (#9319)

* become plugins: use f-strings

* add changelog frag

(cherry picked from commit c7edf0a)

Co-authored-by: Alexei Znamensky <[email protected]>
erichoog pushed a commit to erichoog/community.general that referenced this pull request Dec 23, 2024
* become plugins: use f-strings

* add changelog frag
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 become become plugin plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants