Skip to content

chore: fix mypy issues in distros tests - #7061

Open
sshedi wants to merge 5 commits into
canonical:mainfrom
sshedi:fix-mypy-distros-tests
Open

sshedi wants to merge 5 commits into
canonical:mainfrom
sshedi:fix-mypy-distros-tests

Conversation

@sshedi

@sshedi sshedi commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Proposed Commit Message

chore: fix mypy issues in distros tests

Additional Context

Test Steps

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

Comment thread tests/unittests/distros/test_ifconfig.py Outdated
Comment thread tests/unittests/distros/test_opensuse.py
@sshedi
sshedi force-pushed the fix-mypy-distros-tests branch 3 times, most recently from ea2baa8 to 7779052 Compare September 4, 2026 14:51
@sshedi
sshedi force-pushed the fix-mypy-distros-tests branch from 7779052 to a4d637a Compare September 11, 2026 08:10
@@ -1,4 +1,5 @@
# This file is part of cloud-init. See LICENSE file for license information.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please avoid unnecessary whitespace changes


self._ifs_by_mac = dict(ifs_by_mac)
return {**self._ifs_by_name, **self._ifs_by_mac}
return self._ifs_by_name

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

sshedi and others added 5 commits September 16, 2026 16:54
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
@sshedi
sshedi force-pushed the fix-mypy-distros-tests branch from a4d637a to 9a7b294 Compare September 16, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants