Skip to content

Conversation

@patchback
Copy link

@patchback patchback bot commented Nov 8, 2025

This is a backport of PR #11043 as merged into main (3478863).

SUMMARY

Continuing #10998.

ISSUE TYPE
  • Bugfix Pull Request
  • Refactoring Pull Request
COMPONENT NAME

various

* Resolve E713 and E714 (not in/is tests).

* Address UP018 (unnecessary str call).

* UP045 requires Python 3.10+.

* Address UP007 (X | Y for type annotations).

* Address UP035 (import Callable from collections.abc).

* Address UP006 (t.Dict -> dict).

* Address UP009 (UTF-8 encoding comment).

* Address UP034 (extraneous parantheses).

* Address SIM910 (dict.get() with None default).

* Address F401 (unused import).

* Address UP020 (use builtin open).

* Address B009 and B010 (getattr/setattr with constant name).

* Address SIM300 (Yoda conditions).

* UP029 isn't in use anyway.

* Address FLY002 (static join).

* Address B034 (re.sub positional args).

* Address B020 (loop variable overrides input).

* Address B017 (assert raise Exception).

* Address SIM211 (if expression with false/true).

* Address SIM113 (enumerate for loop).

* Address UP036 (sys.version_info checks).

* Remove unnecessary UP039.

* Address SIM201 (not ==).

* Address SIM212 (if expr with twisted arms).

* Add changelog fragment.

* Reformat.

(cherry picked from commit 3478863)
@ansibullbot
Copy link
Collaborator

@patchback[bot] This PR was evaluated as a potentially problematic PR for the following reasons:

  • More than 50 changed files.

Such PR can only be merged by human. Review the collection contributing guide to determine how to reach out to the collection maintainers for help.

click here for bot help

@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR new_contributor Help guide this first time contributor labels Nov 8, 2025
@felixfontein
Copy link
Collaborator

bot_skip

@felixfontein felixfontein removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html labels Nov 8, 2025
@felixfontein felixfontein merged commit 16f1d07 into stable-12 Nov 8, 2025
132 of 134 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-12/3478863ef025312183cf787e8164f76aac657251/pr-11043 branch November 8, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug This issue/PR relates to a bug new_contributor Help guide this first time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants