Skip to content

Commit 5636544

Browse files
authored
Fix linkcheck (#203)
2 parents a21ee4c + c8b2891 commit 5636544

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
style="background: none" width="120px" height="120px" align="right">
33

44
[![CI](https://github.com/DiamondLightSource/python-copier-template/actions/workflows/ci.yml/badge.svg)](https://github.com/DiamondLightSource/python-copier-template/actions/workflows/ci.yml)
5-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
5+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
66

77
# python-copier-template
88

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ requires-python = ">=3.10"
99

1010
[project.optional-dependencies]
1111
dev = [
12-
"copier",
12+
"copier < 9.4", # https://github.com/copier-org/copier/issues/1819
1313
"myst-parser",
1414
"pre-commit",
1515
"pydata-sphinx-theme>=0.12",

template/README.md.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![CI]({{repo_url}}/actions/workflows/ci.yml/badge.svg)]({{repo_url}}/actions/workflows/ci.yml)
22
[![Coverage](https://codecov.io/gh/{{github_org}}/{{repo_name}}/branch/main/graph/badge.svg)](https://codecov.io/gh/{{github_org}}/{{repo_name}})
33
{% if pypi %}[![PyPI](https://img.shields.io/pypi/v/{{distribution_name}}.svg)](https://pypi.org/project/{{distribution_name}}){% endif %}
4-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
55

66
# {{ package_name }}
77

tests/test_example.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def test_template_defaults(tmp_path: Path):
5252
catalog_info = tmp_path / "catalog-info.yaml"
5353
assert catalog_info.exists()
5454
run("./venv/bin/tox -p")
55+
run("./venv/bin/tox -e docs build -- -b linkcheck")
5556
run("./venv/bin/pip install build twine")
5657
run("./venv/bin/python -m build")
5758
run("./venv/bin/twine check --strict dist/*")

0 commit comments

Comments
 (0)