Skip to content

Commit 6a182c4

Browse files
committed
Apply new repo-config 0.11 templates
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent f2c773a commit 6a182c4

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.github/containers/test-installation/Dockerfile

Lines changed: 1 addition & 1 deletion
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/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,11 @@ updates:
3939
labels:
4040
- "part:tooling"
4141
- "type:tech-debt"
42+
groups:
43+
compatible:
44+
update-types:
45+
- "minor"
46+
- "patch"
47+
artifacts:
48+
patterns:
49+
- "actions/*-artifact"

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repo_name: "frequenz-client-common-python"
1010
repo_url: "https://github.com/frequenz-floss/frequenz-client-common-python"
1111
# TODO(cookiecutter): "main" is the GitHub repo default branch, you might want to update it
1212
# if the project uses a different default branch.
13-
edit_uri: "edit/main/docs/"
13+
edit_uri: "edit/v0.x.x/docs/"
1414
strict: true # Treat warnings as errors
1515

1616
# Build directories

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ disable = [
134134
"unsubscriptable-object",
135135
# Checked by mypy
136136
"no-member",
137+
"possibly-used-before-assignment",
138+
"no-name-in-module",
137139
# Checked by flake8
138140
"f-string-without-interpolation",
139141
"redefined-outer-name",
@@ -147,6 +149,7 @@ disable = [
147149
[tool.pytest.ini_options]
148150
testpaths = ["tests", "src"]
149151
asyncio_mode = "auto"
152+
asyncio_default_fixture_loop_scope = "function"
150153
required_plugins = ["pytest-asyncio", "pytest-mock"]
151154

152155
[tool.mypy]

0 commit comments

Comments
 (0)