From: Jörg Behrmann Date: Wed, 8 Oct 2025 14:31:05 +0000 (+0200) Subject: completion: add reuse ignore comments X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02bf256ebb71f6e0a21628f1188c9afcb6c2805b;p=thirdparty%2Fmkosi.git completion: add reuse ignore comments Otherwise reuse will pick up this license as license for the file and complain about the extra whitespace. --- 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 \"")