Skip to content

Commit 4ecfa51

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4545f0b commit 4ecfa51

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/attr/_make.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,11 @@ def _create_slots_class(self):
919919
annotation = inspect.signature(func).return_annotation
920920
doclines = [f".. :type: {annotation}"]
921921
if func.__doc__ is not None:
922-
doclines.extend(textwrap.indent(textwrap.dedent(func.__doc__), " ").splitlines())
922+
doclines.extend(
923+
textwrap.indent(
924+
textwrap.dedent(func.__doc__), " "
925+
).splitlines()
926+
)
923927
names[name] = "\n".join(doclines)
924928
# Clear out function from class to avoid clashing.
925929
del cd[name]

0 commit comments

Comments
 (0)