From 02bf256ebb71f6e0a21628f1188c9afcb6c2805b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Behrmann?= Date: Wed, 8 Oct 2025 16:31:05 +0200 Subject: [PATCH] completion: add reuse ignore comments Otherwise reuse will pick up this license as license for the file and complain about the extra whitespace. --- mkosi/completion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mkosi/completion.py b/mkosi/completion.py index 3f2fd3455..d35418e2c 100644 --- a/mkosi/completion.py +++ b/mkosi/completion.py @@ -147,7 +147,9 @@ def finalize_completion_bash(options: list[CompletionItem], resources: Path) -> def finalize_completion_fish(options: list[CompletionItem], resources: Path) -> str: with io.StringIO() as c: + # REUSE-IgnoreStart c.write("# SPDX-License-Identifier: LGPL-2.1-or-later\n\n") + # REUSE-IgnoreEnd c.write("complete -c mkosi -f\n") c.write("complete -c mkosi -n '__fish_is_first_token' -a \"") -- 2.47.3