Skip to content

Commit 5480c61

Browse files
committed
Update to repo-config v0.11.0
Also update the files using the migration script with the following changes: * Group artifact-related actions so they are updated together. * Add `asyncio_default_fixture_loop_scope` `pytest` option as not specifying this is deprecated. * Disable some `pylint` checks that are already checked by `mypy`. We also bump the build dependencies so the distribution files use names that are compatible with PEP625, which will soon be required by PyPI. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 53792f2 commit 5480c61

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,11 @@ updates:
5757
labels:
5858
- "part:tooling"
5959
- "type:tech-debt"
60+
groups:
61+
compatible:
62+
update-types:
63+
- "minor"
64+
- "patch"
65+
artifacts:
66+
patterns:
67+
- "actions/*-artifact"

pyproject.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
[build-system]
55
requires = [
6-
"setuptools == 69.0.3",
7-
"setuptools_scm[toml] == 8.0.4",
8-
"frequenz-repo-config[lib] == 0.10.0",
6+
"setuptools == 75.6.0",
7+
"setuptools_scm[toml] == 8.1.0",
8+
"frequenz-repo-config[lib] == 0.11.0",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -63,7 +63,7 @@ dev-mkdocs = [
6363
"mkdocs-material == 9.5.43",
6464
"mkdocstrings[python] == 0.26.2",
6565
"mkdocstrings-python == 1.12.2",
66-
"frequenz-repo-config[lib] == 0.10.0",
66+
"frequenz-repo-config[lib] == 0.11.0",
6767
]
6868
dev-mypy = [
6969
"mypy == 1.13.0",
@@ -73,15 +73,15 @@ dev-mypy = [
7373
# For checking the noxfile, docs/ script, and tests
7474
"frequenz-sdk[dev-mkdocs,dev-noxfile,dev-pytest]",
7575
]
76-
dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[lib] == 0.10.0"]
76+
dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[lib] == 0.11.0"]
7777
dev-pylint = [
7878
"pylint == 3.3.1",
7979
# For checking the noxfile, docs/ script, and tests
8080
"frequenz-sdk[dev-mkdocs,dev-noxfile,dev-pytest]",
8181
]
8282
dev-pytest = [
8383
"pytest == 8.3.3",
84-
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
84+
"frequenz-repo-config[extra-lint-examples] == 0.11.0",
8585
"pytest-mock == 3.14.0",
8686
"pytest-asyncio == 0.24.0",
8787
"time-machine == 2.12.0",
@@ -145,6 +145,8 @@ disable = [
145145
"unsubscriptable-object",
146146
# Checked by mypy
147147
"no-member",
148+
"possibly-used-before-assignment",
149+
"no-name-in-module",
148150
# Checked by flake8
149151
"f-string-without-interpolation",
150152
"redefined-outer-name",
@@ -163,6 +165,7 @@ max-attributes = 12
163165
[tool.pytest.ini_options]
164166
testpaths = ["tests", "src"]
165167
asyncio_mode = "auto"
168+
asyncio_default_fixture_loop_scope = "function"
166169
required_plugins = ["pytest-asyncio", "pytest-mock"]
167170
markers = [
168171
"integration: integration tests (deselect with '-m \"not integration\"')",

0 commit comments

Comments
 (0)