Skip to content

Commit da858c1

Browse files
committed
Refactored check links to ignore
1 parent 7ca681a commit da858c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ check_links()
299299
if [[ `pytest --trace-config | grep rerunfailures | wc -l` -gt "0" ]]; then
300300
RERUNS="--reruns 5"
301301
fi
302-
pytest $RERUNS --check-links docs/Tutorial_*.ipynb notebooks/Tutorial_*.ipynb docs/*.md docs/*.rst ./*.md ./*.rst --check-links-ignore "https://dl.acm.org/doi/10.1145/3357223.3362721"
302+
IGNORE_LINKS='--check-links-ignore "https://dl.acm.org/*"'
303+
pytest $RERUNS --check-links docs/Tutorial_*.ipynb notebooks/Tutorial_*.ipynb docs/*.md docs/*.rst ./*.md ./*.rst $IGNORE_LINKS
303304
check_errs $?
304305
}
305306

0 commit comments

Comments
 (0)