We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88bd56 commit cbc6965Copy full SHA for cbc6965
scripts/check_rst_formatting.py
@@ -133,10 +133,11 @@ def main():
133
found_issues = True
134
print(f"Issues found in {file_path}:")
135
for parent_line, child_line, context in issues:
136
+ newline = "\n"
137
print(
138
f" Parent list item at line {parent_line}, nested list at line {child_line} without blank line separation"
139
)
- print(f" Context:\n {context.replace('\n', '\n ')}")
140
+ print(f" Context:\n {context.replace(newline, newline + ' ')}")
141
print(" Fix: Add a blank line before the nested list")
142
print()
143
0 commit comments