Skip to content

Commit 7681c54

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1132331 commit 7681c54

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/_pytest/_io/pprint.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ def _pprint_dataclass(
183183
if f.repr
184184
]
185185
yield cls_name + "("
186-
yield from self._format_namespace_items(items, indent, allowance, context, level)
186+
yield from self._format_namespace_items(
187+
items, indent, allowance, context, level
188+
)
187189
yield ")"
188190

189191
_dispatch: dict[
@@ -413,7 +415,9 @@ def _pprint_simplenamespace(
413415
cls_name = object.__class__.__name__
414416
items = object.__dict__.items()
415417
yield cls_name + "("
416-
yield from self._format_namespace_items(items, indent, allowance, context, level)
418+
yield from self._format_namespace_items(
419+
items, indent, allowance, context, level
420+
)
417421
yield ")"
418422

419423
_dispatch[_types.SimpleNamespace.__repr__] = _pprint_simplenamespace

0 commit comments

Comments
 (0)