Skip to content

Commit 99db48c

Browse files
authored
chore(patch-release): misc refinements (#896)
1 parent 5f16d16 commit 99db48c

File tree

8 files changed

+34
-32
lines changed

8 files changed

+34
-32
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ doc-watch:
145145

146146
# Build documentation only from src.
147147
doc-build:
148-
pdm run sphinx-build -a docs $(PUBLIC_DIR)
148+
pdm run sphinx-build --fail-on-warning --write-all docs $(PUBLIC_DIR)
149149

150150
# Generate html coverage reports with badge.
151151
doc-coverage: test-run

pdm.dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
groups = ["doc", "lint", "test"]
66
strategy = ["inherit_metadata"]
77
lock_version = "4.5.0"
8-
content_hash = "sha256:bb122c24e17decd9d1d6c8b6bf2bad444717e0ca671e262ed2ddde2be4851df2"
8+
content_hash = "sha256:3b3cf93a57ae97f3f868cff27773abbd10f762b7d68b0a1bc24e1656994431e9"
99

1010
[[metadata.targets]]
1111
requires_python = ">=3.9"

pdm.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ dynamic = [
3737
"version",
3838
]
3939
dependencies = [
40-
"click",
41-
"pydantic-settings",
40+
"click>=8.1.8",
41+
"pydantic-settings>=2.7.1",
4242
]
4343
urls.documentation = "https://serious-scaffold.github.io/ss-python"
4444
urls.issue = "https://github.com/serious-scaffold/ss-python/issues"
@@ -47,22 +47,22 @@ scripts.ss-python-cli = "ss_python.cli:cli"
4747

4848
[dependency-groups]
4949
test = [
50-
"coverage",
51-
"pytest",
50+
"coverage>=7.6.10",
51+
"pytest>=8.3.4",
5252
]
5353
doc = [
54-
"autodoc-pydantic",
55-
"coverage",
56-
"furo",
57-
"mypy[reports]",
58-
"myst-parser",
59-
"pytest",
60-
"sphinx",
61-
"sphinx-click",
62-
"sphinx-design",
54+
"autodoc-pydantic>=2.2.0",
55+
"coverage>=7.6.10",
56+
"furo>=2024.8.6",
57+
"mypy[reports]>=1.14.1",
58+
"myst-parser>=3.0.1",
59+
"pytest>=8.3.4",
60+
"sphinx>=7.4.7",
61+
"sphinx-click>=6.0.0",
62+
"sphinx-design>=0.6.1",
6363
]
6464
lint = [
65-
"mypy",
65+
"mypy>=1.14.1",
6666
]
6767

6868
[tool.pdm]

src/ss_python/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55

66
@click.group()
7+
@click.version_option()
78
def cli() -> None:
89
"""CLI for Serious Scaffold Python."""
910

template/Makefile.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ doc-watch:
155155

156156
# Build documentation only from src.
157157
doc-build:
158-
pdm run sphinx-build -a docs $(PUBLIC_DIR)
158+
pdm run sphinx-build --fail-on-warning --write-all docs $(PUBLIC_DIR)
159159

160160
# Generate html coverage reports with badge.
161161
doc-coverage: test-run

template/pyproject.toml.jinja

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ dynamic = [
7878
"version",
7979
]
8080
dependencies = [
81-
"click",
82-
"pydantic-settings",
81+
"click>=8.1.8",
82+
"pydantic-settings>=2.7.1",
8383
]
8484
urls.documentation = "https://{{ page_url() }}"
8585
{% if repo_platform == 'github' %}
@@ -92,22 +92,22 @@ scripts.{{ package_name }}-cli = "{{ module_name }}.cli:cli"
9292

9393
[dependency-groups]
9494
test = [
95-
"coverage",
96-
"pytest",
95+
"coverage>=7.6.10",
96+
"pytest>=8.3.4",
9797
]
9898
doc = [
99-
"autodoc-pydantic",
100-
"coverage",
101-
"furo",
102-
"mypy[reports]",
103-
"myst-parser",
104-
"pytest",
105-
"sphinx",
106-
"sphinx-click",
107-
"sphinx-design",
99+
"autodoc-pydantic>=2.2.0",
100+
"coverage>=7.6.10",
101+
"furo>=2024.8.6",
102+
"mypy[reports]>=1.14.1",
103+
"myst-parser>=3.0.1",
104+
"pytest>=8.3.4",
105+
"sphinx>=7.4.7",
106+
"sphinx-click>=6.0.0",
107+
"sphinx-design>=0.6.1",
108108
]
109109
lint = [
110-
"mypy",
110+
"mypy>=1.14.1",
111111
]
112112

113113
[tool.pdm]

template/src/{{ module_name }}/cli.py.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import click
44

55

66
@click.group()
7+
@click.version_option()
78
def cli() -> None:
89
"""CLI for {{ project_name }}."""
910

0 commit comments

Comments
 (0)