mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Enable the FURB113 rule in Ruff (#11856)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: danieleades <33452915+danieleades@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f9c8943889
commit
4f08cdff13
@@ -107,8 +107,10 @@ def process_todo_nodes(app, doctree, fromdocname):
|
||||
para += nodes.Text('.)')
|
||||
|
||||
# Insert into the todolist
|
||||
content.append(todo_info['todo'])
|
||||
content.append(para)
|
||||
content.extend((
|
||||
todo_info['todo'],
|
||||
para,
|
||||
))
|
||||
|
||||
node.replace_self(content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user