From ea75e6f355d637efef111058bb0977a8d7800bdc Mon Sep 17 00:00:00 2001 From: Ivan Yordanov Date: Thu, 2 Nov 2023 12:36:04 +0200 Subject: [PATCH] fix: avoid clash between hook and dprint --- docs/docs/user/changelog.md | 1 + hooks/gen_docs/utils.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/user/changelog.md b/docs/docs/user/changelog.md index 2d00832e4..e4667fc3d 100644 --- a/docs/docs/user/changelog.md +++ b/docs/docs/user/changelog.md @@ -1,4 +1,5 @@ + # Changelog ## [2.0.11](https://github.com/bakdata/kpops/releases/tag/2.0.11) - Release Date: [2023-10-24] diff --git a/hooks/gen_docs/utils.py b/hooks/gen_docs/utils.py index 35cbb5e30..fbe4c011d 100644 --- a/hooks/gen_docs/utils.py +++ b/hooks/gen_docs/utils.py @@ -28,7 +28,7 @@ def copy_file( shutil.copyfileobj(file_source, file_dest) return if header is None: - header_encoded = f"\n".encode() + header_encoded = f"\n\n".encode() else: header_encoded = header.encode() with TemporaryFile() as file_header: