Skip to content

Conversation

@zulquer
Copy link
Collaborator

@zulquer zulquer commented Oct 9, 2025

This pull request adds descriptive module-level docstrings to many files in the MultiSafepay Python SDK, improving code readability and maintainability. These docstrings clarify the purpose of each module, making the codebase easier to navigate for both current and future developers. Additionally, a minor configuration change was made to the linter settings.

Module documentation improvements:

Linting configuration:

  • Updated pyproject.toml to remove D100 from the ignore list, ensuring that top-level docstring checks are now enforced.

@zulquer zulquer requested a review from Copilot October 9, 2025 15:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

# See the DISCLAIMER.md file for disclaimer details.


"""Value object for Test Unit Ip Address data."""
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

Capitalization issue in 'Ip Address' - should be 'IP Address'.

Suggested change
"""Value object for Test Unit Ip Address data."""
"""Value object for Test Unit IP Address data."""

Copilot uses AI. Check for mistakes.
# See the DISCLAIMER.md file for disclaimer details.


"""Value object for Test Unit Iban Number data."""
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

Capitalization issue in 'Iban Number' - should be 'IBAN Number'.

Suggested change
"""Value object for Test Unit Iban Number data."""
"""Value object for Test Unit IBAN Number data."""

Copilot uses AI. Check for mistakes.
@@ -1,0 +1 @@
"""Integration tests for creating refund requests via the order manager."""
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

File name contains typo 'integrationa' which should be 'integration'.

Copilot uses AI. Check for mistakes.
# This file is licensed under the Open Software License (OSL) version 3.0.
# For a copy of the license, see the LICENSE.txt file in the project root.

# See the DISCLAIMER.md file for disclaimer details.v
Copy link

Copilot AI Oct 9, 2025

Choose a reason for hiding this comment

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

Stray 'v' character at the end of the disclaimer comment.

Suggested change
# See the DISCLAIMER.md file for disclaimer details.v
# See the DISCLAIMER.md file for disclaimer details.

Copilot uses AI. Check for mistakes.
@codecov
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.53%. Comparing base (d89f135) to head (0e766f6).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   90.53%   90.53%           
=======================================
  Files         107      107           
  Lines        2334     2334           
=======================================
  Hits         2113     2113           
  Misses        221      221           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@danielcivit danielcivit changed the title Pthmint 52 PTHMINT-52: Fix Ruff D100 Oct 10, 2025
Copy link
Member

@danielcivit danielcivit left a comment

Choose a reason for hiding this comment

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

Read this twice just to check if the descriptions are wrong in any of these files, but beyond that point I am not going to review this. There is no impact, even if there is an error on any description.

@zulquer zulquer merged commit c7afd53 into master Oct 22, 2025
6 checks passed
@zulquer zulquer deleted the PTHMINT-52 branch October 22, 2025 08:26
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.

3 participants