Skip to content

Commit 074c189

Browse files
committed
Run Ruff again with different flags
1 parent a403fb6 commit 074c189

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Doc/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
# Python specific content from Doc/Tools/extensions/pyspecific.py
2121
from pyspecific import SOURCE_URI
2222

23-
2423
# General configuration
2524
# ---------------------
2625

Doc/tools/extensions/grammar_snippet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import re
2+
23
from docutils import nodes
34
from docutils.parsers.rst import directives
4-
55
from sphinx import addnodes
66
from sphinx.util.docutils import SphinxDirective
77
from sphinx.util.nodes import make_id
@@ -174,7 +174,7 @@ def run(self):
174174
align_column = max(line.index(':') for line in lines[1:]) + 1
175175
content = []
176176
for line in lines[1:]:
177-
rule_name, colon, text = line.partition(':')
177+
rule_name, _colon, text = line.partition(':')
178178
rule_name = rule_name.strip()
179179
if rule_name:
180180
name_part = rule_name + ':'

0 commit comments

Comments
 (0)