Skip to content

Commit b3e6bbe

Browse files
committed
Upgrade to repo-config v0.12.0
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent c1d64c5 commit b3e6bbe

File tree

3 files changed

+7
-88
lines changed

3 files changed

+7
-88
lines changed

docs/_scripts/macros.py

Lines changed: 0 additions & 81 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://grpc.github.io/grpc/python/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: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 75.8.0",
77
"setuptools_scm[toml] == 8.1.0",
8-
"frequenz-repo-config[lib] == 0.11.0",
8+
"frequenz-repo-config[lib] == 0.12.0",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -69,7 +69,7 @@ dev-mkdocs = [
6969
"mkdocs-material == 9.6.2",
7070
"mkdocstrings[python] == 0.28.0",
7171
"mkdocstrings-python == 1.14.3",
72-
"frequenz-repo-config[lib] == 0.11.0",
72+
"frequenz-repo-config[lib] == 0.12.0",
7373
]
7474
dev-mypy = [
7575
"mypy == 1.14.1",
@@ -79,15 +79,15 @@ dev-mypy = [
7979
# For checking the noxfile, docs/ script, and tests
8080
"frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]",
8181
]
82-
dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[lib] == 0.11.0"]
82+
dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[lib] == 0.12.0"]
8383
dev-pylint = [
8484
"pylint == 3.3.4",
8585
# For checking the noxfile, docs/ script, and tests
8686
"frequenz-client-microgrid[dev-mkdocs,dev-noxfile,dev-pytest]",
8787
]
8888
dev-pytest = [
8989
"pytest == 8.3.4",
90-
"frequenz-repo-config[extra-lint-examples] == 0.11.0",
90+
"frequenz-repo-config[extra-lint-examples] == 0.12.0",
9191
"pytest-mock == 3.14.0",
9292
"pytest-asyncio == 0.25.3",
9393
"async-solipsism == 0.7",
@@ -161,6 +161,7 @@ disable = [
161161
]
162162

163163
[tool.pytest.ini_options]
164+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
164165
testpaths = ["tests", "src"]
165166
asyncio_mode = "auto"
166167
asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)