Dv/skruk/docstring cleanup#21
Merged
sebastiankruk merged 15 commits intodynatrace-oss:release/0.9.2from Nov 6, 2025
Merged
Conversation
adding "app.*" to deployment bizevents
…consistent, differentiating between dsoa.run.context and dsoa.run.plugin - fixing tests still in progress!!
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR focuses on standardizing docstring formatting across the codebase to improve consistency and readability. The changes convert multi-line docstrings to single-line format where appropriate, correct spelling errors, and improve code style compliance.
- Converts multi-line docstrings to single-line format following PEP 257 conventions
- Corrects spelling errors in documentation and error messages
- Improves code readability by fixing string concatenation and formatting issues
Reviewed Changes
Copilot reviewed 48 out of 49 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/plugins/test_1_validate.py | Fixed spelling error in docstring and improved code style with "not in" operator |
| test/core/test_documentation.py | Reformatted multi-line docstrings for better readability |
| test/core/test_config.py | Corrected spelling error in assertion message |
| test/_utils.py | Standardized docstring format to single-line where appropriate and added missing parameter documentation |
| test/_mocks/telemetry.py | Converted multi-line docstrings to single-line format and corrected parameter documentation |
| test/init.py | Standardized docstring format to single-line |
| src/dtagent/version.py | Converted multi-line docstring to single-line format |
| src/dtagent/util.py | Standardized docstring formats, added raw string prefix for escape sequences, and improved parameter documentation formatting |
| src/dtagent/plugins/*.py | Converted multi-line docstrings to single-line format across multiple plugin files |
| src/dtagent/plugins/.config/.yml | Reordered event_timestamps entries for consistency |
| src/dtagent/plugins/resource_monitors.py | Added import for EVENT_TIMESTAMP_KEYS_PAYLOAD_NAME and improved docstring consistency |
| src/dtagent/otel/*.py | Standardized docstring formats and improved multi-line string formatting |
| src/dtagent/connector.py | Converted multi-line docstrings to single-line format |
| src/dtagent/config.py | Improved multi-line parameter documentation formatting |
| src/dtagent/agent.py | Converted multi-line docstrings to single-line format |
| src/dtagent/init.py | Standardized docstring format to single-line |
| src/build/*.py | Converted multi-line docstrings to single-line format and improved string formatting |
| src/init.py | Added module docstring |
| setup.cfg | Added flake8 configuration for docstring conventions |
| .vscode/settings.json | Added new words to spell checker dictionary |
| .pylintrc | Removed C0111 (missing-docstring checks) from disabled rules |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
micjaki
approved these changes
Nov 6, 2025
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.
No description provided.