Skip to content

Commit f8e6a83

Browse files
committed
Test for RST210
1 parent c40f0c6 commit f8e6a83

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

tests/RST210/strong.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""Print 'Hello world' to the terminal.
2+
3+
RST uses double asterisks for **strong**, which is
4+
normally rendered as **bold**.
5+
6+
Here **strong is missing a closing double asterisk.
7+
8+
That is considered to be an error, and should fail::
9+
10+
$ flake8 --select RST RST210/strong.py
11+
RST210/strong.py:7:1: RST210 Inline strong start-string without end-string.
12+
13+
"""
14+
15+
print("Hello world")

0 commit comments

Comments
 (0)