Skip to content

Commit 6ecc2bc

Browse files
Apply the repo-config v0.12.0 migration script
Signed-off-by: camille-bouvy-frequenz <[email protected]>
1 parent 9eb76af commit 6ecc2bc

File tree

3 files changed

+5
-83
lines changed

3 files changed

+5
-83
lines changed

docs/_scripts/macros.py

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

mkdocs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,9 @@ plugins:
118118
- https://frequenz-floss.github.io/frequenz-api-common/v0.3/objects.inv
119119
- https://grpc.github.io/grpc/python/objects.inv
120120
# Note this plugin must be loaded after mkdocstrings to be able to use macros
121-
# inside docstrings. See the comment in `docs/_scripts/macros.py` for more
122-
# details
121+
# inside docstrings.
123122
- macros:
124-
module_name: docs/_scripts/macros
123+
modules: ["frequenz.repo.config.mkdocs.mkdocstrings_macros"]
125124
on_undefined: strict
126125
on_error_fail: true
127126
- search

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ dev-mkdocs = [
6464
"mkdocs-literate-nav == 0.6.1",
6565
"mkdocs-macros-plugin == 1.3.7",
6666
"mkdocs-material == 9.5.47",
67-
"mkdocstrings[python] == 0.27.0",
68-
"mkdocstrings-python == 1.12.2",
67+
"mkdocstrings[python] == 0.28.0",
68+
"mkdocstrings-python == 1.14.6",
6969
"frequenz-repo-config[lib] == 0.13.0",
7070
]
7171
dev-mypy = [
@@ -163,6 +163,7 @@ disable = [
163163
]
164164

165165
[tool.pytest.ini_options]
166+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
166167
testpaths = ["tests", "src"]
167168
asyncio_mode = "auto"
168169
required_plugins = ["pytest-asyncio", "pytest-mock"]

0 commit comments

Comments
 (0)