From f7b3f34c289a46983da6c57f1935c11936ce1fcd Mon Sep 17 00:00:00 2001 From: dangotbanned <125183946+dangotbanned@users.noreply.github.com> Date: Tue, 4 Mar 2025 19:03:49 +0000 Subject: [PATCH] ci: fix doc build for `win32` No longer causing a commotion https://github.com/narwhals-dev/narwhals/pull/2119#issuecomment-2697736818 --- utils/generate_zen_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/generate_zen_content.py b/utils/generate_zen_content.py index 31fe8af4af..cb742d308e 100644 --- a/utils/generate_zen_content.py +++ b/utils/generate_zen_content.py @@ -23,5 +23,5 @@ ``` """ -with DESTINATION_PATH.open(mode="w") as destination: +with DESTINATION_PATH.open(mode="w", encoding="utf-8", newline="\n") as destination: destination.write(content)