Skip to content

style(core): black-format test_user_agent.py - #6602

Open
rsareddy0329 wants to merge 1 commit into
aws:masterfrom
rsareddy0329:fix/black-format-test-user-agent
Open

rsareddy0329 wants to merge 1 commit into
aws:masterfrom
rsareddy0329:fix/black-format-test-user-agent

Conversation

@rsareddy0329

Copy link
Copy Markdown
Contributor

What

Adds the blank line Black requires after the module docstring in
sagemaker-core/tests/unit/test_user_agent.py. One line, no functional change.

Why

#6546 added this test file without that blank line. codestyle-doc-tests (sagemaker-core) runs
black --check ./, which reports would reformat .../tests/unit/test_user_agent.py, so the check
fails on master. flake8, pylint, docstyle and twine in the same job pass.

Validation

Ran black 26.3.1 (the CI-pinned version) over sagemaker-core: 513 files unchanged. flake8 is clean
on the file.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

aws#6546 added sagemaker-core/tests/unit/test_user_agent.py without the blank
line Black requires after the module docstring, so the black-check tox env
in codestyle-doc-tests (sagemaker-core) fails on master. Apply black 26.3.1
(the CI-pinned version); no functional change.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤖 AI code review

This PR adds a single blank line after the module docstring in sagemaker-core/tests/unit/test_user_agent.py to satisfy Black's formatting requirement, fixing a failing codestyle-doc-tests CI check. The change is correct, has no functional impact, and matches the stated intent. Nothing to flag.

Reviewed commit d97b93b. Automated review; verify before acting.

This branch was previously deployed

1 inactive deployment
manual-approval — d97b93b5 Deployed Nov 25, 2026 by rsareddy0329 via wait-for-approval #2278
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.

1 participant