File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,8 +8,11 @@ for code in RST??? ; do
88 echo " ======"
99 echo $code
1010 echo " ======"
11- flake8 --select RST $code / 2>&1 | grep $code
12- echo " Return code $? from $code tests"
11+ for file in $code /* .py ; do
12+ echo " flake8 --select RST $file "
13+ flake8 --select RST $file 2>&1 | grep $code
14+ done
15+ echo " Good, $code violations reported, as expected."
1316done
1417# echo "Positive tests passed (RST errors reported as expected)."
1518
@@ -19,8 +22,9 @@ set -o pipefail
1922echo " ========="
2023echo " Negatives"
2124echo " ========="
25+ echo " flake8 --select RST test_cases/"
2226flake8 --select RST test_cases/
23- # echo "Negative tests passed ( no RST errors reported as expected) ."
27+ echo " Good, no RST style violations reported, as expected."
2428
2529echo " ============"
2630echo " Tests passed"
You can’t perform that action at this time.
0 commit comments