Skip to content

Commit a2e6567

Browse files
authored
PTHMINT-86: Fix ruff D101 (#36)
1 parent 1db842a commit a2e6567

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ extend-safe-fixes = [
9999
"D415", # docstrings should end with a period, question mark, or exclamation point
100100
]
101101
ignore = [
102-
"D101",
103102
"D103",
104103
"D104",
105104
"D107",

tests/multisafepay/integration/api/base/listings/test_integration_listing_pager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515

1616
class MockItem:
17+
"""Mock item for testing purposes."""
18+
1719
def __init__(self: "MockItem", value: object) -> None:
1820
"""
1921
Initialize a MockItem with a given value.

tests/multisafepay/unit/api/base/listings/test_unit_listing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
class MockItem:
15+
"""Mock item for testing purposes."""
16+
1517
def __init__(self: "MockItem", value: object) -> None:
1618
self.value = value
1719

tests/multisafepay/unit/api/base/listings/test_unit_listing_pager.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
class MockItem:
15+
"""Mock item for testing purposes."""
16+
1517
def __init__(self: "MockItem", value: object) -> None:
1618
"""
1719
Initialize a MockItem with a given value.

0 commit comments

Comments
 (0)