Skip to content

Commit e243092

Browse files
committed
Linting
1 parent d7bd7ab commit e243092

4 files changed

Lines changed: 10 additions & 16 deletions

File tree

lib/meteor/extensions/renderer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
from tablerpy import OutlineIcon, get_icon
99
from marko import Markdown
1010
from marko.ext.gfm import GFM
11-
from marko.helpers import MarkoExtension, render_dispatch
12-
from marko.html_renderer import HTMLRenderer
11+
from marko.helpers import MarkoExtension
1312

1413

1514
# SVG namespace

lib/meteor/extensions/rss.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import datetime
2-
import hashlib
3-
import uuid
42
from xml.etree import ElementTree
53

64
import ark
7-
import holly
85
import os
96
from feedgenerator import Atom1Feed
107
from jinja2 import filters
@@ -73,7 +70,6 @@ def generate_feed():
7370
author = node.get("author") or config.get("default_author", "")
7471
node_path = ark.utils.rewrite_urls(f"'{node.url}'", path).strip("'")
7572
url = os.path.join(homepage, node_path)
76-
item_license = config.get("default_license", "")
7773
feed.add_item(
7874
title=node.get("title"),
7975
author_name=author,
@@ -84,7 +80,7 @@ def generate_feed():
8480
)
8581

8682
xml = feed.writeString("utf-8")
87-
favicon_path = ark.utils.rewrite_urls(f"'@root/images/favicon.svg'", path)
83+
favicon_path = ark.utils.rewrite_urls("'@root/images/favicon.svg'", path)
8884
favicon_url = os.path.join(homepage, favicon_path.strip("'"))
8985
xml = insert_icon(xml, favicon_url)
9086

lib/meteor/tests/test_extensions.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
import pathlib
32

43
import ark

requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
5-
# pip-compile --strip-extras
5+
# pip-compile
66
#
77
argslib==2.1.0
88
# via ark
@@ -18,30 +18,30 @@ ibis==3.3.0
1818
# via ark
1919
iniconfig==2.1.0
2020
# via pytest
21-
jinja2==3.1.5
21+
jinja2==3.1.6
2222
# via ark
2323
lightningcss==0.2.2
2424
# via -r requirements.in
25-
markdown==3.7
25+
markdown==3.9
2626
# via ark
27-
marko==2.1.4
27+
marko==2.2.1
2828
# via -r requirements.in
29-
markupsafe==3.0.2
29+
markupsafe==3.0.3
3030
# via jinja2
3131
minify-html==0.16.4
3232
# via -r requirements.in
3333
packaging==25.0
3434
# via pytest
3535
pluggy==1.6.0
3636
# via pytest
37-
pygments==2.19.1
37+
pygments==2.19.2
3838
# via
3939
# ark
4040
# pytest
4141
# syntext
42-
pytest==8.4.1
42+
pytest==8.4.2
4343
# via -r requirements.in
44-
pyyaml==6.0.2
44+
pyyaml==6.0.3
4545
# via ark
4646
shortcodes==5.4.0
4747
# via ark

0 commit comments

Comments
 (0)