diff --git a/blog/blog.py b/blog/blog.py
index 190446c..c1f60c2 100644
--- a/blog/blog.py
+++ b/blog/blog.py
@@ -1,12 +1,13 @@
import glob
import shutil
-import datetime
+import datetime
import textwrap
from pathlib import Path
from blog.page import Page
from blog.config import Config
from jinja2 import Environment, FileSystemLoader, Template
+
class Blog:
def __init__(self, conf: Config):
@@ -69,7 +70,8 @@ class Blog:
if updated < date:
updated = date
articles += textwrap.indent(
- textwrap.dedent(f"""\
+ textwrap.dedent(
+ f"""\
{self.pages[filename].title}
@@ -81,10 +83,13 @@ class Blog:
- """),
- " ")
+ """
+ ),
+ " ",
+ )
- header = textwrap.dedent(f"""
+ header = textwrap.dedent(
+ f"""
{self.conf.title}
{self.conf.presentation}
@@ -96,11 +101,12 @@ class Blog:
{self.conf.author_mail}
urn:uuid:{self.conf.id}
- """)
+ """
+ )
footer = ""
- with open(Path(self.conf.outbox) / "atom.xml", 'w+') as rss_file:
+ with open(Path(self.conf.outbox) / "atom.xml", "w+") as rss_file:
rss_file.write(header + articles + footer)
def _copy_css(self):
diff --git a/blog/config.py b/blog/config.py
index 7e37bd3..4045e43 100644
--- a/blog/config.py
+++ b/blog/config.py
@@ -15,7 +15,7 @@ class Config:
"draft",
"author_name",
"author_mail",
- "id"
+ "id",
}
def __init__(self, config_file: Path):