ソースを参照

Format + lint

jherve 1 年間 前
コミット
af040ea0ba

+ 1 - 0
src/de_quoi_parle_le_monde/article.py

@@ -62,6 +62,7 @@ class FeaturedArticleSnapshot(ABC):
         else:
             return parsed
 
+
 @frozen
 class TopArticle(ABC):
     article: FeaturedArticleSnapshot

+ 0 - 1
src/de_quoi_parle_le_monde/medias/le_figaro.py

@@ -1,7 +1,6 @@
 from bs4 import BeautifulSoup
 
 from de_quoi_parle_le_monde.article import (
-    TopArticle,
     MainArticle,
     MainPage,
     to_text,

+ 1 - 1
src/de_quoi_parle_le_monde/storage.py

@@ -457,7 +457,7 @@ class Storage:
             #   * the article published just after, on the same site
             #   *the article published just before, on the same site
             main_articles = await conn.execute_fetchall(
-                f"""
+                """
                 WITH sav_diff AS (
                     SELECT sav.*, EXTRACT(EPOCH FROM sav.timestamp_virtual - $2) :: integer AS time_diff
                     FROM snapshot_apparitions sav