Skip to content

Commit f783314

Browse files
committed
Update files to repo-config 0.12
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent 4f9b894 commit f783314

3 files changed

Lines changed: 3 additions & 81 deletions

File tree

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

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ disable = [
168168
]
169169

170170
[tool.pytest.ini_options]
171+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
171172
testpaths = ["pytests"]
172173

173174
[tool.mypy]

0 commit comments

Comments
 (0)