From 5bc3e2fbaf653b1fa8a0df6fabbd9921d6b40c8f Mon Sep 17 00:00:00 2001 From: Antonio Paolillo Date: Tue, 2 Jun 2026 08:59:01 +0200 Subject: [PATCH 1/2] Fix format Signed-off-by: Antonio Paolillo --- src/pythainer/builders/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pythainer/builders/__init__.py b/src/pythainer/builders/__init__.py index 81070e2..cfa7876 100644 --- a/src/pythainer/builders/__init__.py +++ b/src/pythainer/builders/__init__.py @@ -608,7 +608,7 @@ def build( self, dockerfile_savepath: PathType = "", docker_context: PathType = "", - extra_build_options: List[str] = [], + extra_build_options: List[str] = (), ) -> None: """ Builds the Docker image using the generated Dockerfile and specified Docker build directory. From 2ca181d0af177dc37e0dec9938b30cfc15b9afdb Mon Sep 17 00:00:00 2001 From: Antonio Paolillo Date: Tue, 2 Jun 2026 09:03:24 +0200 Subject: [PATCH 2/2] Fix Signed-off-by: Antonio Paolillo --- src/pythainer/builders/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pythainer/builders/__init__.py b/src/pythainer/builders/__init__.py index cfa7876..f7159cf 100644 --- a/src/pythainer/builders/__init__.py +++ b/src/pythainer/builders/__init__.py @@ -608,7 +608,7 @@ def build( self, dockerfile_savepath: PathType = "", docker_context: PathType = "", - extra_build_options: List[str] = (), + extra_build_options: List[str] | None = None, ) -> None: """ Builds the Docker image using the generated Dockerfile and specified Docker build directory.