diff --git a/.github/containers/test-installation/Dockerfile b/.github/containers/test-installation/Dockerfile index 6ca6142..d5e2399 100644 --- a/.github/containers/test-installation/Dockerfile +++ b/.github/containers/test-installation/Dockerfile @@ -3,7 +3,7 @@ # This Dockerfile is used to test the installation of the python package in # multiple platforms in the CI. It is not used to build the package itself. -FROM --platform=${TARGETPLATFORM} python:3.11-slim +FROM python:3.11-slim RUN apt-get update -y && \ apt-get install --no-install-recommends -y \ diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c193ad1..39f7d39 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -39,3 +39,11 @@ updates: labels: - "part:tooling" - "type:tech-debt" + groups: + compatible: + update-types: + - "minor" + - "patch" + artifacts: + patterns: + - "actions/*-artifact" diff --git a/mkdocs.yml b/mkdocs.yml index b4eeae9..0a81d56 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -10,7 +10,7 @@ repo_name: "frequenz-client-common-python" repo_url: "https://github.com/frequenz-floss/frequenz-client-common-python" # TODO(cookiecutter): "main" is the GitHub repo default branch, you might want to update it # if the project uses a different default branch. -edit_uri: "edit/main/docs/" +edit_uri: "edit/v0.x.x/docs/" strict: true # Treat warnings as errors # Build directories diff --git a/pyproject.toml b/pyproject.toml index d1c288d..7c891fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -134,6 +134,8 @@ disable = [ "unsubscriptable-object", # Checked by mypy "no-member", + "possibly-used-before-assignment", + "no-name-in-module", # Checked by flake8 "f-string-without-interpolation", "redefined-outer-name", @@ -147,6 +149,7 @@ disable = [ [tool.pytest.ini_options] testpaths = ["tests", "src"] asyncio_mode = "auto" +asyncio_default_fixture_loop_scope = "function" required_plugins = ["pytest-asyncio", "pytest-mock"] [tool.mypy]