Skip to content

Commit e754fff

Browse files
committed
skip doctests when checking links
1 parent 86dc7d7 commit e754fff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jupyter_releaser/lib.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ def check_links(ignore_glob, ignore_links, cache_file, links_expire):
5252
cmd += f"--check-links-cache-expire-after {links_expire} "
5353
cmd += "--disable-warnings --quiet "
5454
cmd += f"--check-links-cache-name {cache_dir}/check-release-links "
55+
# do not run doctests, since they might depend on other state.
56+
cmd += "--doctest-glob=*.skip"
5557

5658
ignored = []
5759
for spec in ignore_glob:

0 commit comments

Comments
 (0)