Skip to content

typing: check untyped CA certificates module - #7022

Open
Chan-Developer wants to merge 1 commit into
canonical:mainfrom
Chan-Developer:codex/type-cc-ca-certs
Open

typing: check untyped CA certificates module#7022
Chan-Developer wants to merge 1 commit into
canonical:mainfrom
Chan-Developer:codex/type-cc-ca-certs

Conversation

@Chan-Developer

@Chan-Developer Chan-Developer commented Aug 21, 2026

Copy link
Copy Markdown

Proposed Commit Message

chore(typing): check untyped CA certificates module

Type the heterogeneous distro configuration dictionaries and ambiguous test
values, and pass the debconf command in the list form accepted by subp.
Remove the source and test modules from the check_untyped_defs exemption.

Refs GH-5445

Additional Context

This is the unclaimed cloudinit.config.cc_ca_certs slice of GH-5445. It does not change the user interface.

Test Steps

python -m mypy cloudinit/config/cc_ca_certs.py
python -m mypy --follow-imports=skip cloudinit/config/cc_ca_certs.py tests/unittests/config/test_cc_ca_certs.py
python -m pytest -q tests/unittests/config/test_cc_ca_certs.py
python -m ruff check cloudinit/config/cc_ca_certs.py tests/unittests/config/test_cc_ca_certs.py
python -m black --check cloudinit/config/cc_ca_certs.py tests/unittests/config/test_cc_ca_certs.py
python -m isort --check-only --diff cloudinit/config/cc_ca_certs.py tests/unittests/config/test_cc_ca_certs.py
python -m pylint cloudinit/config/cc_ca_certs.py tests/unittests/config/test_cc_ca_certs.py

The focused unit suite reports 270 passed, and pylint reports 10.00/10.

Merge type

  • Squash merge using Proposed Commit Message
  • Rebase and merge unique commits.

@Chan-Developer
Chan-Developer marked this pull request as ready for review August 21, 2026 04:34
@holmanb holmanb self-assigned this Aug 21, 2026
@holmanb holmanb added the CLA not signed The submitter of the PR has not (yet) signed the CLA label Aug 21, 2026
@Chan-Developer

Copy link
Copy Markdown
Author

I have now signed the Canonical Contributor Licence Agreement for the GitHub account and email associated with this contribution. The CLA check shown here is still the result from August 21, and GitHub does not allow me to rerun it as the PR author. Could a maintainer please rerun the CLA check once the signing record has synced? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA not signed The submitter of the PR has not (yet) signed the CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants