Skip to content

Commit 97885f8

Browse files
Update repo config w migration script (#148)
2 parents c2a1578 + 8d2793b commit 97885f8

File tree

3 files changed

+10
-90
lines changed

3 files changed

+10
-90
lines changed

docs/_scripts/macros.py

Lines changed: 0 additions & 81 deletions
This file was deleted.

mkdocs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ plugins:
115115
- https://docs.python.org/3/objects.inv
116116
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
117117
# Note this plugin must be loaded after mkdocstrings to be able to use macros
118-
# inside docstrings. See the comment in `docs/_scripts/macros.py` for more
119-
# details
118+
# inside docstrings.
120119
- macros:
121-
module_name: docs/_scripts/macros
120+
modules: ["frequenz.repo.config.mkdocs.mkdocstrings_macros"]
122121
on_undefined: strict
123122
on_error_fail: true
124123
- search

pyproject.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 75.8.0",
77
"setuptools_scm[toml] == 8.1.0",
8-
"frequenz-repo-config[lib] == 0.11.0",
8+
"frequenz-repo-config[lib] == 0.12.3",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -32,7 +32,7 @@ dependencies = [
3232
"frequenz-client-common >= 0.3.0, < 0.4",
3333
"grpcio >=1.66.1, < 2",
3434
"grpcio-tools >=1.66.1, < 2",
35-
"protobuf >=5.28.2, < 6",
35+
"protobuf >=5.28.3, < 6",
3636
"frequenz-client-base >= 0.8.0, < 0.10.0",
3737
]
3838
dynamic = ["version"]
@@ -61,8 +61,9 @@ dev-mkdocs = [
6161
"mkdocs-literate-nav == 0.6.1",
6262
"mkdocs-macros-plugin == 1.3.7",
6363
"mkdocs-material == 9.6.1",
64-
"mkdocstrings[python] == 0.27.0",
65-
"frequenz-repo-config[lib] == 0.11.0",
64+
"mkdocstrings[python] == 0.28.2",
65+
"mkdocstrings-python == 1.16.2",
66+
"frequenz-repo-config[lib] == 0.12.3",
6667
]
6768
dev-mypy = [
6869
"mypy == 1.14.1",
@@ -74,7 +75,7 @@ dev-mypy = [
7475
]
7576
dev-noxfile = [
7677
"nox == 2025.2.9",
77-
"frequenz-repo-config[lib] == 0.11.0",
78+
"frequenz-repo-config[lib] == 0.12.3",
7879
]
7980
dev-pylint = [
8081
"pylint == 3.3.4",
@@ -84,7 +85,7 @@ dev-pylint = [
8485
]
8586
dev-pytest = [
8687
"pytest == 8.3.4",
87-
"frequenz-repo-config[extra-lint-examples] == 0.11.0",
88+
"frequenz-repo-config[extra-lint-examples] == 0.12.3",
8889
"pytest-mock == 3.14.0",
8990
"pytest-asyncio == 0.25.3",
9091
"async-solipsism == 0.7",
@@ -155,6 +156,7 @@ disable = [
155156
]
156157

157158
[tool.pytest.ini_options]
159+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
158160
testpaths = ["tests", "src"]
159161
asyncio_mode = "auto"
160162
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)