Skip to content

Commit 24fd9cc

Browse files
Update to newest repo config
Signed-off-by: Flora <flora.hofmann@frequenz.com>
1 parent 77509e6 commit 24fd9cc

File tree

3 files changed

+7
-89
lines changed

3 files changed

+7
-89
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
@@ -115,10 +115,9 @@ plugins:
115115
- https://docs.python.org/3/objects.inv
116116
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
117117
# Note this plugin must be loaded after mkdocstrings to be able to use macros
118-
# inside docstrings. See the comment in `docs/_scripts/macros.py` for more
119-
# details
118+
# inside docstrings.
120119
- macros:
121-
module_name: docs/_scripts/macros
120+
modules: ["frequenz.repo.config.mkdocs.mkdocstrings_macros"]
122121
on_undefined: strict
123122
on_error_fail: true
124123
- search

pyproject.toml

Lines changed: 5 additions & 5 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.3",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -61,8 +61,7 @@ dev-mkdocs = [
6161
"mkdocs-literate-nav == 0.6.1",
6262
"mkdocs-macros-plugin == 1.3.7",
6363
"mkdocs-material == 9.6.1",
64-
"mkdocstrings[python] == 0.27.0",
65-
"frequenz-repo-config[lib] == 0.11.0",
64+
"frequenz-repo-config[lib] == 0.12.3",
6665
]
6766
dev-mypy = [
6867
"mypy == 1.14.1",
@@ -74,7 +73,7 @@ dev-mypy = [
7473
]
7574
dev-noxfile = [
7675
"nox == 2024.10.9",
77-
"frequenz-repo-config[lib] == 0.11.0",
76+
"frequenz-repo-config[lib] == 0.12.3",
7877
]
7978
dev-pylint = [
8079
"pylint == 3.3.4",
@@ -84,7 +83,7 @@ dev-pylint = [
8483
]
8584
dev-pytest = [
8685
"pytest == 8.3.4",
87-
"frequenz-repo-config[extra-lint-examples] == 0.11.0",
86+
"frequenz-repo-config[extra-lint-examples] == 0.12.3",
8887
"pytest-mock == 3.14.0",
8988
"pytest-asyncio == 0.25.3",
9089
"async-solipsism == 0.7",
@@ -159,6 +158,7 @@ testpaths = ["tests", "src"]
159158
asyncio_mode = "auto"
160159
asyncio_default_fixture_loop_scope = "function"
161160
required_plugins = ["pytest-asyncio", "pytest-mock"]
161+
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
162162

163163
[tool.mypy]
164164
explicit_package_bases = true

0 commit comments

Comments
 (0)