From 44197397ef0adffce5d7d211cd9d2e034362f24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 26 Apr 2025 14:52:39 +0200 Subject: [PATCH] tests: remove obsolete coding charset in Python scripts --- tests/scripts/python/testapi.py | 2 -- tests/scripts/python/testapigen.py | 2 -- tests/scripts/python/unparse.py | 1 - 3 files changed, 5 deletions(-) diff --git a/tests/scripts/python/testapi.py b/tests/scripts/python/testapi.py index f4f54171d..5099ad027 100644 --- a/tests/scripts/python/testapi.py +++ b/tests/scripts/python/testapi.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # SPDX-FileCopyrightText: 2017-2025 Sébastien Helleu # # SPDX-License-Identifier: GPL-3.0-or-later diff --git a/tests/scripts/python/testapigen.py b/tests/scripts/python/testapigen.py index a5baed1a8..db99c47cb 100755 --- a/tests/scripts/python/testapigen.py +++ b/tests/scripts/python/testapigen.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # # SPDX-FileCopyrightText: 2017-2025 Sébastien Helleu # @@ -188,7 +187,6 @@ class WeechatPythonScript(WeechatScript): UnparsePython, tree, source_script, output_dir, 'python', 'py') def write_header(self, output): - output.write('# -*- coding: utf-8 -*-\n') super(WeechatPythonScript, self).write_header(output) output.write('\n' 'import weechat') diff --git a/tests/scripts/python/unparse.py b/tests/scripts/python/unparse.py index 6f77ba23d..18ee3688d 100755 --- a/tests/scripts/python/unparse.py +++ b/tests/scripts/python/unparse.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # # SPDX-FileCopyrightText: 2017-2025 Sébastien Helleu #