Skip to content

Commit 0a3b729

Browse files
committed
Update files to repo-config v0.12
Updates all the files using the migration script from repo-config v0.12. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 793cbd8 commit 0a3b729

File tree

3 files changed

+3
-81
lines changed

3 files changed

+3
-81
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
@@ -121,10 +121,9 @@ plugins:
121121
- https://grpc.github.io/grpc/python/objects.inv
122122
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
123123
# Note this plugin must be loaded after mkdocstrings to be able to use macros
124-
# inside docstrings. See the comment in `docs/_scripts/macros.py` for more
125-
# details
124+
# inside docstrings.
126125
- macros:
127-
module_name: docs/_scripts/macros
126+
modules: ["frequenz.repo.config.mkdocs.mkdocstrings_macros"]
128127
on_undefined: strict
129128
on_error_fail: true
130129
- search

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ disable = [
164164
]
165165

166166
[tool.pytest.ini_options]
167+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
167168
testpaths = ["tests", "src"]
168169
asyncio_mode = "auto"
169170
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)