File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
containers/test-installation Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 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
88RUN apt-get update -y && \
99 apt-get install --no-install-recommends -y \
Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change @@ -155,6 +155,8 @@ disable = [
155155 " unsubscriptable-object" ,
156156 # Checked by mypy
157157 " no-member" ,
158+ " possibly-used-before-assignment" ,
159+ " no-name-in-module" ,
158160 # Checked by flake8
159161 " redefined-outer-name" ,
160162 " unused-import" ,
@@ -168,6 +170,7 @@ disable = [
168170[tool .pytest .ini_options ]
169171testpaths = [" tests" , " src" ]
170172asyncio_mode = " auto"
173+ asyncio_default_fixture_loop_scope = " function"
171174required_plugins = [" pytest-asyncio" , " pytest-mock" ]
172175
173176[tool .mypy ]
Original file line number Diff line number Diff line change 1010from frequenz .repo .config .pytest import examples
1111from sybil import Sybil
1212
13- sybil_arguments = examples .get_sybil_arguments ()
14- # Upstream includes "excludes" to work around a bug in Sybil.
15- # This bug seems to be fixed in our version of Sybil, so we remove it.
16- sybil_arguments .pop ("excludes" )
17-
18- pytest_collect_file = Sybil (** sybil_arguments ).pytest ()
13+ pytest_collect_file = Sybil (** examples .get_sybil_arguments ()).pytest ()
You can’t perform that action at this time.
0 commit comments