Skip to content

Commit c1f27f2

Browse files
committed
Update files to repo-config 0.12
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 8956261 commit c1f27f2

File tree

3 files changed

+3
-83
lines changed

3 files changed

+3
-83
lines changed

docs/_scripts/macros.py

Lines changed: 0 additions & 80 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
@@ -166,6 +166,7 @@ disable = [
166166
]
167167

168168
[tool.pytest.ini_options]
169+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
169170
testpaths = ["pytests"]
170171

171172
[tool.mypy]

0 commit comments

Comments
 (0)