Skip to content

Commit 40bab90

Browse files
committed
update check-links and settings
1 parent 73d2f71 commit 40bab90

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

jupyter_releaser/lib.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ def check_links(ignore_glob, ignore_links, cache_file, links_expire):
5454
python = sys.executable.replace(os.sep, "/")
5555
cmd = f"{python} -m pytest --noconftest --check-links --check-links-cache "
5656
cmd += f"--check-links-cache-expire-after {links_expire} "
57-
cmd += "--disable-warnings --quiet "
58-
cmd += "-raXs "
57+
cmd += "-raXs --color yes --quiet"
5958
cmd += f"--check-links-cache-name {cache_dir}/check-release-links "
6059
# do not run doctests, since they might depend on other state.
6160
cmd += "-p no:doctest "

setup.cfg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,19 @@ install_requires =
4040
pkginfo
4141
pre-commit
4242
pypiserver
43-
pytest-check-links>=0.5
43+
pytest-check-links>=0.7
4444
requests
4545
requests_cache
4646
tbump~=6.7
4747
toml~=0.10
4848
twine
4949

5050
[options.extras_require]
51-
test = coverage; pytest; pytest-cov; pytest-mock
51+
test =
52+
coverage
53+
pytest>=7.0
54+
pytest-cov
55+
pytest-mock
5256

5357
[options.entry_points]
5458
console_scripts =

0 commit comments

Comments
 (0)