Skip to content

Commit 7bf7515

Browse files
committed
Apply black and isort formatting to SE publishers
1 parent 5421eec commit 7bf7515

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/fundus/publishers/se/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
from fundus.publishers.base_objects import PublisherGroup,Publisher
1+
from fundus.publishers.base_objects import Publisher, PublisherGroup
22
from fundus.scraping.url import NewsMap, RSSFeed, Sitemap
33

44
from .expressen import ExpressenParser
55

6+
67
class SE(metaclass=PublisherGroup):
78
default_language = "sv"
89

@@ -16,4 +17,4 @@ class SE(metaclass=PublisherGroup):
1617
RSSFeed("https://feeds.expressen.se/noje/"),
1718
Sitemap("https://www.expressen.se/sitemap.xml"),
1819
],
19-
)
20+
)

src/fundus/publishers/se/expressen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
extract_article_body_with_selector,
1111
generic_author_parsing,
1212
generic_date_parsing,
13-
image_extraction,
1413
generic_topic_parsing,
14+
image_extraction,
1515
)
1616

1717

@@ -51,4 +51,4 @@ def images(self) -> List[Image]:
5151

5252
@attribute
5353
def topics(self) -> List[str]:
54-
return generic_topic_parsing(self.precomputed.ld.bf_search("articleSection"))
54+
return generic_topic_parsing(self.precomputed.ld.bf_search("articleSection"))

0 commit comments

Comments
 (0)