Skip to content

Commit d354f2d

Browse files
Merge pull request #24 from flora-hofmann-frequenz/update_repo_config
Update repo config
2 parents a6db7c5 + 456148a commit d354f2d

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/containers/test-installation/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This Dockerfile is used to test the installation of the python package in
44
# multiple platforms in the CI. It is not used to build the package itself.
55

6-
FROM --platform=${TARGETPLATFORM} python:3.11-slim
6+
FROM python:3.11-slim
77

88
RUN apt-get update -y && \
99
apt-get install --no-install-recommends -y \

.github/labeler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# - changed-files:
2626
# - any-glob-to-any-file:
2727
# - "src/**/*.py"
28-
# - all-glob-to-all-file:
28+
# - all-globs-to-all-files:
2929
# - "!src/__init__.py"
3030
#
3131
# Please have in mind that that the part:xxx labels need to

pyproject.toml

+7-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 75.6.0",
77
"setuptools_scm[toml] == 8.1.0",
8-
"frequenz-repo-config[lib] == 0.10.0",
8+
"frequenz-repo-config[lib] == 0.11.0",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -55,7 +55,7 @@ dev-mkdocs = [
5555
"mkdocs-material == 9.5.43",
5656
"mkdocstrings[python] == 0.26.2",
5757
"mkdocstrings-python == 1.12.2",
58-
"frequenz-repo-config[lib] == 0.10.0",
58+
"frequenz-repo-config[lib] == 0.11.0",
5959
]
6060
dev-mypy = [
6161
"mypy == 1.13.0",
@@ -65,7 +65,7 @@ dev-mypy = [
6565
]
6666
dev-noxfile = [
6767
"nox == 2024.10.9",
68-
"frequenz-repo-config[lib] == 0.10.0",
68+
"frequenz-repo-config[lib] == 0.11.0",
6969
]
7070
dev-pylint = [
7171
# dev-pytest already defines a dependency to pylint because of the examples
@@ -75,7 +75,7 @@ dev-pylint = [
7575
dev-pytest = [
7676
"pytest == 8.3.3",
7777
"pylint == 3.3.1", # We need this to check for the examples
78-
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
78+
"frequenz-repo-config[extra-lint-examples] == 0.11.0",
7979
"pytest-mock == 3.14.0",
8080
"pytest-asyncio == 0.24.0",
8181
"async-solipsism == 0.7",
@@ -137,6 +137,8 @@ disable = [
137137
"unsubscriptable-object",
138138
# Checked by mypy
139139
"no-member",
140+
"possibly-used-before-assignment",
141+
"no-name-in-module",
140142
# Checked by flake8
141143
"f-string-without-interpolation",
142144
"line-too-long",
@@ -150,6 +152,7 @@ disable = [
150152
[tool.pytest.ini_options]
151153
testpaths = ["tests", "src"]
152154
asyncio_mode = "auto"
155+
asyncio_default_fixture_loop_scope = "function"
153156
required_plugins = ["pytest-asyncio", "pytest-mock"]
154157

155158
[tool.mypy]

0 commit comments

Comments
 (0)