Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR standardizes docstring formatting across the codebase by converting multi-line docstrings to single-line format in compliance with the D200 ruff rule. The change affects both source and test files, improving consistency and readability.
Key changes:
- Converted multi-line docstrings to single-line format for test functions and helper classes
- Simplified class-level docstrings for manager classes in the API layer
- Removed D200 from the ruff ignore list in pyproject.toml to enforce the new standard
Reviewed changes
Copilot reviewed 79 out of 79 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/multisafepay/unit/value_object/*.py | Standardized test function docstrings to single-line format |
| tests/multisafepay/unit/util/*.py | Converted multi-line test docstrings to single-line format |
| tests/multisafepay/unit/exception/*.py | Simplified exception test docstrings |
| tests/multisafepay/unit/api/**/*.py | Unified docstring format for API component tests |
| tests/multisafepay/integration/**/*.py | Applied single-line docstrings to integration tests |
| src/multisafepay/api/paths/**/*_manager.py | Converted manager class docstrings to single-line format |
| src/multisafepay/util/webhook.py | Simplified Webhook class docstring |
| pyproject.toml | Removed D200 from ruff ignore list to enforce formatting |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #40 +/- ##
=======================================
Coverage 90.69% 90.69%
=======================================
Files 143 143
Lines 2471 2471
=======================================
Hits 2241 2241
Misses 230 230 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
danielcivit
approved these changes
Dec 3, 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.
This pull request standardizes and simplifies docstrings throughout the codebase by converting multi-line docstrings to single-line format in both source and test files. This improves readability and consistency, especially for class and method documentation. Additionally, a minor change is made to the
pyproject.tomlconfiguration.Docstring Standardization and Simplification:
src/multisafepay/api/paths/directory (e.g.,AuthManager,CaptureManager,CategoryManager, etc.), improving code consistency and readability. [1] [2] [3] [4] [5] [6] [7] [8] [9]Configuration Update:
"D200"from theignorelist in theextend-safe-fixessection ofpyproject.toml, possibly to enforce stricter docstring formatting rules.