Skip to content

Commit ad6d80a

Browse files
committed
Test ignoring extra directives and roles
1 parent 3d9a017 commit ad6d80a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

tests/run_tests.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ echo "flake8 --select RST test_cases/"
2626
flake8 --select RST test_cases/
2727
echo "Good, no RST style violations reported, as expected."
2828

29+
echo "================"
30+
echo "Extra directives"
31+
echo "================"
32+
# Checked this failed earlier in the RST303 tests
33+
flake8 --select RST --rst-directives=req,spec,needfilter RST303/sphinx-directives.py
34+
echo "Good, no RST303 style violations reported, as expected."
35+
36+
echo "==========="
37+
echo "Extra roles"
38+
echo "==========="
39+
# Checked this failed earlier in the RST304 tests
40+
flake8 --select RST --rst-roles need,need_incoming RST304/sphinx-roles.py
41+
echo "Good, no RST304 style violations reported, as expected."
42+
2943
echo "========="
3044
echo "Help text"
3145
echo "========="

0 commit comments

Comments
 (0)