Skip to content

Commit 9057f16

Browse files
committed
Tests: apply ruff format
1 parent 452716f commit 9057f16

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

tests/test_util/test_util_docutils_sphinx_directive.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,16 @@ def make_directive_and_state(
4141
state.inliner = inliner
4242
state.parent = None
4343
# https://repo.or.cz/docutils.git/blob/2310dd9b468e9f86b00401b1aa60d47aabc199ac:/docutils/docutils/parsers/rst/states.py#l162
44-
state.memo = Struct(document=state.document,
45-
reporter=state.document.reporter,
46-
language=english,
47-
title_styles=[],
48-
section_parents=[],
49-
section_level=0, # will be removed in Docutils 2.0
50-
section_bubble_up_kludge=False, # will be removed
51-
inliner=inliner)
44+
state.memo = Struct(
45+
document=state.document,
46+
reporter=state.document.reporter,
47+
language=english,
48+
title_styles=[],
49+
section_parents=[],
50+
section_level=0, # will be removed in Docutils 2.0
51+
section_bubble_up_kludge=False, # will be removed
52+
inliner=inliner,
53+
)
5254
directive = SphinxDirective(
5355
name='test_directive',
5456
arguments=[],

0 commit comments

Comments
 (0)