We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1af987 commit b3df111Copy full SHA for b3df111
1 file changed
tests/RST212/short_underline.py
@@ -0,0 +1,22 @@
1
+"""Print 'Hello world' to the terminal.
2
+
3
+Long
4
+=====
5
+An overly long underline (here one extra equals sign)
6
+is considered acceptable.
7
8
+Short
9
+====
10
+There is a missing equals sign on the above underline,
11
+and that is considered an error. This should fail::
12
13
+ $ flake8 --select RST RST212/short_underline.py
14
+ RST212/short_underline.py:10:1: RST299 Title underline too short.
15
16
+Nice
17
18
+Finally, this underline is just right.
19
20
+"""
21
22
+print("Hello world")
0 commit comments