Skip to content

Commit

Permalink
Apply new repo-config 0.11 templates
Browse files Browse the repository at this point in the history
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
  • Loading branch information
llucax committed Dec 2, 2024
1 parent f2c773a commit 6a182c4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/containers/test-installation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ updates:
labels:
- "part:tooling"
- "type:tech-debt"
groups:
compatible:
update-types:
- "minor"
- "patch"
artifacts:
patterns:
- "actions/*-artifact"
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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]
Expand Down

0 comments on commit 6a182c4

Please sign in to comment.