Skip to content

Commit 9877ee1

Browse files
committed
black was sad
1 parent 5cadc49 commit 9877ee1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mystbin/objects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def __repr__(self) -> str:
5757

5858
@property
5959
def url(self) -> str:
60-
""" :class:`str`: Returns the formatted url of ID and syntax. """
60+
""":class:`str`: Returns the formatted url of ID and syntax."""
6161
syntax = f".{self.syntax}" if self.syntax else ""
6262
return PASTE_BASE.format(self.paste_id, syntax)
6363

@@ -117,16 +117,16 @@ def __repr__(self) -> str:
117117

118118
@property
119119
def url(self) -> str:
120-
""" :class:`str`: The Paste ID's URL """
120+
""":class:`str`: The Paste ID's URL."""
121121
syntax = f".{self.paste_syntax}" if self.paste_syntax else ""
122122
return PASTE_BASE.format(self.paste_id, syntax)
123123

124124
@property
125125
def created_at(self) -> datetime.datetime:
126-
""" :class:`datetime.datetime`: Returns a UTC datetime of when the paste was created. """
126+
""":class:`datetime.datetime`: Returns a UTC datetime of when the paste was created."""
127127
return datetime.datetime.strptime(self.paste_date, "%Y-%m-%dT%H:%M:%S.%f")
128128

129129
@property
130130
def content(self) -> str:
131-
""" :class:`str`: Return the paste content but dedented correctly. """
131+
""":class:`str`: Return the paste content but dedented correctly."""
132132
return dedent(self.paste_content)

0 commit comments

Comments
 (0)