Commit 039640a1 authored by Jakob Lerch's avatar Jakob Lerch
Browse files

style(meeting.py): reformat

parent a0158932
Pipeline #2932 failed with stages
in 31 seconds
......@@ -8,7 +8,11 @@ from typing import Any, Iterator, Optional
class Topic:
def __init__(
self, title: str, body: Optional[str] = None, url: Optional[str] = None, parent: Optional[str] = None
self,
title: str,
body: Optional[str] = None,
url: Optional[str] = None,
parent: Optional[str] = None,
) -> None:
self.title = title
self.body = body
......@@ -58,8 +62,7 @@ class Attendee:
if m_extra := re.match(r".+\((?P<extra>.*)\).*", self.raw):
extra = m_extra.group("extra")
object.__setattr__(self, "extra", extra.strip())
object.__setattr__(self, "name", self.raw.replace(
f"({extra})", "").strip())
object.__setattr__(self, "name", self.raw.replace(f"({extra})", "").strip())
else:
object.__setattr__(self, "name", self.raw.strip())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment