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:
Dimitri Papadopoulos Orfanos
2024-01-21 21:25:05 +01:00
committed by GitHub
parent f9c8943889
commit 4f08cdff13
8 changed files with 26 additions and 30 deletions

View File

@@ -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)