Skip to content

Commit 8cc7747

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

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

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ disable = [
147147
]
148148

149149
[tool.pytest.ini_options]
150+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
150151
testpaths = ["tests", "src"]
151152
asyncio_mode = "auto"
152153
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)