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 #