Repository navigation
style(core): black-format test_user_agent.py - #6602
Open
rsareddy0329 wants to merge 1 commit into
Open
rsareddy0329 wants to merge 1 commit into
rsareddy0329 wants to merge 1 commit into
Conversation
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.
rsareddy0329
temporarily deployed
to
manual-approval
November 25, 2026 08:47 — with
GitHub Actions
Inactive
rsareddy0329
temporarily deployed
to
manual-approval
November 25, 2026 08:47 — with
GitHub Actions
Inactive
rsareddy0329
temporarily deployed
to
manual-approval
November 25, 2026 08:48 — with
GitHub Actions
Inactive
There was a problem hiding this comment.
🤖 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)runsblack --check ./, which reportswould reformat .../tests/unit/test_user_agent.py, so the checkfails 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 cleanon the file.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.