Skip to content

Commit ba4401d

Browse files
committed
Apply code formatting
1 parent 2085310 commit ba4401d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

violetear/markup.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,7 @@ def _render(self, fp, indent: int):
336336

337337
class Head(Markup):
338338
def __init__(
339-
self,
340-
charset: str = "UTF-8",
341-
title: str = "",
342-
favicon: str = "/favicon.ico"
339+
self, charset: str = "UTF-8", title: str = "", favicon: str = "/favicon.ico"
343340
) -> None:
344341
self.charset = charset
345342
self.title = title
@@ -362,11 +359,7 @@ def _render(self, fp, indent: int):
362359

363360
# Render Favicon
364361
if self.favicon:
365-
self._write_line(
366-
fp,
367-
f'<link rel="icon" href="{self.favicon}">',
368-
indent + 1
369-
)
362+
self._write_line(fp, f'<link rel="icon" href="{self.favicon}">', indent + 1)
370363

371364
for style in self.styles:
372365
if style.inline and style.sheet:

0 commit comments

Comments
 (0)