diff options
author | Patrik Teivonen <patrik.teivonen@qt.io> | 2022-06-16 11:44:27 +0300 |
---|---|---|
committer | Patrik Teivonen <patrik.teivonen@qt.io> | 2022-07-07 07:04:23 +0000 |
commit | e8037e69632ba57f3dcb3e986bb9725149f6d37a (patch) | |
tree | 56620dd313d58208a36812a63347913c8f5f9d05 /packaging-tools/archiveresolver.py | |
parent | 409972e451bedb7a691464db2949ba65c3ba10e9 (diff) |
PEP8 compliant copyright headers in Python scriptsv6.4.0-beta2-packaging
-Update year and license header
-Update header formatting to match others in send_header_diff_kmail.py
-Change "## " to "# " in license headers to make them PEP8 compliant.
-Reference: https://peps.python.org/pep-0008/#block-comments
-flake8 rule descriptions and codes:
-Block comment should start with '# ' (E265)
-Too many leading '#' for block comment (E266)
Change-Id: Ife039694462e9908bc22ab253ba3202c7245a7a3
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'packaging-tools/archiveresolver.py')
-rw-r--r-- | packaging-tools/archiveresolver.py | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/packaging-tools/archiveresolver.py b/packaging-tools/archiveresolver.py index 6c1257809..446ef5505 100644 --- a/packaging-tools/archiveresolver.py +++ b/packaging-tools/archiveresolver.py @@ -2,31 +2,31 @@ # -*- coding: utf-8 -*- ############################################################################# -## -## Copyright (C) 2022 The Qt Company Ltd. -## Contact: https://www.qt.io/licensing/ -## -## This file is part of the release tools of the Qt Toolkit. -## -## $QT_BEGIN_LICENSE:GPL-EXCEPT$ -## Commercial License Usage -## Licensees holding valid commercial Qt licenses may use this file in -## accordance with the commercial license agreement provided with the -## Software or, alternatively, in accordance with the terms contained in -## a written agreement between you and The Qt Company. For licensing terms -## and conditions see https://www.qt.io/terms-conditions. For further -## information use the contact form at https://www.qt.io/contact-us. -## -## GNU General Public License Usage -## Alternatively, this file may be used under the terms of the GNU -## General Public License version 3 as published by the Free Software -## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -## included in the packaging of this file. Please review the following -## information to ensure the GNU General Public License requirements will -## be met: https://www.gnu.org/licenses/gpl-3.0.html. -## -## $QT_END_LICENSE$ -## +# +# Copyright (C) 2022 The Qt Company Ltd. +# Contact: https://www.qt.io/licensing/ +# +# This file is part of the release tools of the Qt Toolkit. +# +# $QT_BEGIN_LICENSE:GPL-EXCEPT$ +# Commercial License Usage +# Licensees holding valid commercial Qt licenses may use this file in +# accordance with the commercial license agreement provided with the +# Software or, alternatively, in accordance with the terms contained in +# a written agreement between you and The Qt Company. For licensing terms +# and conditions see https://www.qt.io/terms-conditions. For further +# information use the contact form at https://www.qt.io/contact-us. +# +# GNU General Public License Usage +# Alternatively, this file may be used under the terms of the GNU +# General Public License version 3 as published by the Free Software +# Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT +# included in the packaging of this file. Please review the following +# information to ensure the GNU General Public License requirements will +# be met: https://www.gnu.org/licenses/gpl-3.0.html. +# +# $QT_END_LICENSE$ +# ############################################################################# import os |