Skip to content

Conversation

@ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Mar 18, 2025

Partial: #4548
Partial: AAP-41586

@ssbarnea ssbarnea merged commit 0543bd8 into main Mar 18, 2025
29 checks passed
@ssbarnea ssbarnea deleted the fix/219-task branch March 18, 2025 14:24
cavcrosby pushed a commit to cavcrosby/homelab-cm that referenced this pull request Oct 11, 2025
The ruff pre-commit hook has been updated to the ruff-check hook, as the
former is now just an alias for the latter. The GitHub pull request,
astral-sh/ruff-pre-commit#124, discusses these
changes.

The spacing underneath many lines within the code.md and
infrastructure.md Markdown files has changed due to Prettier's
pre-commit hook formatting them. Also, many link texts have changed to
satisfy markdownlint's new MD059 rule (link text should be descriptive).

The use_keywords_order_plays.yml playbook has changed to resolve
ansible-lint name[unique] violations.

Many role variables have been changed to resolve ansible-lint
var-naming[no-role-prefix] violations.

Passing the line number for tasks and plays (via 'data') as an argument
to the create_matcherror method has changed due to how this attribute is
to be accessed in relation to future versions of the ansible-core
package (>= 2.19). This conclusion has come from reading
ansible/ansible-lint#4554 and
ansible/ansible-lint#4564.

A version_changed attribute has been added to all rules to suppress a
warning now generated from ansible-lint that complains when this
attribute is missing. This behavior was introduced as of this commit:
ansible/ansible-lint#4431. The value for this
attribute models the one in the pyproject.toml file, in that it is not
intended to hold much significance. This is primarily because I see
little value in updating this attribute over time for internal rules.

The _get_leaf_items method's type hint has changed from the union type
'list[Any] | dict[Any, Any]' to 'list[Any] | Mapping[Any, Any]' because
the parent class type of ansiblelint.utils.Task has changed to be
Mapping[str, Any].

The AnsibleUnicodeItems type alias now uses the 'type' keyword instead
of TypeAlias, as this was recommended per ruff's non-pep695-type-alias
rule.
cavcrosby pushed a commit to cavcrosby/homelab-cm that referenced this pull request Oct 18, 2025
The ruff pre-commit hook has been updated to the ruff-check hook, as the
former is now just an alias for the latter. The GitHub pull request,
astral-sh/ruff-pre-commit#124, discusses these
changes.

The spacing underneath many lines within the code.md and
infrastructure.md Markdown files has changed due to Prettier's
pre-commit hook formatting them. Also, many link texts have changed to
satisfy markdownlint's new MD059 rule (link text should be descriptive).

The use_keywords_order_plays.yml playbook has changed to resolve
ansible-lint name[unique] violations.

Many role variables have been changed to resolve ansible-lint
var-naming[no-role-prefix] violations.

Passing the line number for tasks and plays (via 'data') as an argument
to the create_matcherror method has changed due to how this attribute is
to be accessed in relation to future versions of the ansible-core
package (>= 2.19). This conclusion has come from reading
ansible/ansible-lint#4554 and
ansible/ansible-lint#4564.

A version_changed attribute has been added to all rules to suppress a
warning now generated from ansible-lint that complains when this
attribute is missing. This behavior was introduced as of this commit:
ansible/ansible-lint#4431. The value for this
attribute models the one in the pyproject.toml file, in that it is not
intended to hold much significance. This is primarily because I see
little value in updating this attribute over time for internal rules.

The _get_leaf_items method's type hint has changed from the union type
'list[Any] | dict[Any, Any]' to 'list[Any] | Mapping[Any, Any]' because
the parent class type of ansiblelint.utils.Task has changed to be
Mapping[str, Any].

The AnsibleUnicodeItems type alias now uses the 'type' keyword instead
of TypeAlias, as this was recommended per ruff's non-pep695-type-alias
rule.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants