Skip to content

Commit c7439b2

Browse files
committed
chore: Update Python code formatting
1 parent 0bc0e07 commit c7439b2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

python/benches/bench.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@
150150
REALISTIC_HTMLS = [REALISTIC_HTML] * 100
151151

152152

153-
def parametrize_functions(*funcs, ids=("css_inline", "premailer", "pynliner", "inlinestyler")):
153+
def parametrize_functions(
154+
*funcs, ids=("css_inline", "premailer", "pynliner", "inlinestyler")
155+
):
154156
return pytest.mark.parametrize("func", funcs, ids=ids)
155157

156158

python/tests-py/test_inlining.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ def make_html(style: str, body: str) -> str:
3737
({}, make_html(SAMPLE_STYLE, SAMPLE_INLINED)),
3838
(
3939
{"remove_style_tags": True},
40-
"<html><head><title>Test</title></head><body>{body}</body></html>".format(body=SAMPLE_INLINED),
40+
"<html><head><title>Test</title></head><body>{body}</body></html>".format(
41+
body=SAMPLE_INLINED
42+
),
4143
),
4244
),
4345
)

0 commit comments

Comments
 (0)