diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-06-30 15:51:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-30 15:51:19 +0200 |
commit | 8e024ee654a898e2bb8038115391cf85d1d4a5dd (patch) | |
tree | 42984891c77fe5b70398f7ed415c607adf16c4e5 /scripts | |
parent | 45de31374d0bd6eb29f9a7238216a6e78bb3b83d (diff) | |
parent | 6f727664a9d8945e1f536b69ea0f3b0aae9e29e0 (diff) | |
download | qutebrowser-8e024ee654a898e2bb8038115391cf85d1d4a5dd.tar.gz qutebrowser-8e024ee654a898e2bb8038115391cf85d1d4a5dd.zip |
Merge pull request #7761 from pylbrecht/remove-vim-modelines
Remove vim modelines in favor of .editorconfig
Diffstat (limited to 'scripts')
42 files changed, 20 insertions, 147 deletions
diff --git a/scripts/__init__.py b/scripts/__init__.py index 90be1e04d..7985e7bbc 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -1,3 +1 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - """Various utility scripts.""" diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index a7816e132..09405c3e7 100755 --- a/scripts/asciidoc2html.py +++ b/scripts/asciidoc2html.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/__init__.py b/scripts/dev/__init__.py index 7dc043361..38246491d 100644 --- a/scripts/dev/__init__.py +++ b/scripts/dev/__init__.py @@ -1,3 +1 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - """Various scripts used for developing qutebrowser.""" diff --git a/scripts/dev/build_pyqt_wheel.py b/scripts/dev/build_pyqt_wheel.py index b63331341..697cc1ac1 100644 --- a/scripts/dev/build_pyqt_wheel.py +++ b/scripts/dev/build_pyqt_wheel.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index 04d07f59b..996487693 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/change_release.py b/scripts/dev/change_release.py index b033b04ea..882f4543d 100644 --- a/scripts/dev/change_release.py +++ b/scripts/dev/change_release.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/check_coverage.py b/scripts/dev/check_coverage.py index 0f8b23554..912e4cbc4 100644 --- a/scripts/dev/check_coverage.py +++ b/scripts/dev/check_coverage.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/check_doc_changes.py b/scripts/dev/check_doc_changes.py index 5e3a457b6..53ef12090 100755 --- a/scripts/dev/check_doc_changes.py +++ b/scripts/dev/check_doc_changes.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2016-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/ci/docker/generate.py b/scripts/dev/ci/docker/generate.py index dc2a8cffe..ee4fd28d5 100644 --- a/scripts/dev/ci/docker/generate.py +++ b/scripts/dev/ci/docker/generate.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2019-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/ci/problemmatchers.py b/scripts/dev/ci/problemmatchers.py index c59eabeb0..af6521c0a 100644 --- a/scripts/dev/ci/problemmatchers.py +++ b/scripts/dev/ci/problemmatchers.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=sh fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/cleanup.py b/scripts/dev/cleanup.py index 4f4842f3b..4a05e56b4 100755 --- a/scripts/dev/cleanup.py +++ b/scripts/dev/cleanup.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/gen_versioninfo.py b/scripts/dev/gen_versioninfo.py index 56610721d..ecce10adf 100644 --- a/scripts/dev/gen_versioninfo.py +++ b/scripts/dev/gen_versioninfo.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2018-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/get_coredumpctl_traces.py b/scripts/dev/get_coredumpctl_traces.py index 88a0a5b0c..8db91bacd 100644 --- a/scripts/dev/get_coredumpctl_traces.py +++ b/scripts/dev/get_coredumpctl_traces.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py index a66dd68fe..240b5e6f1 100644 --- a/scripts/dev/misc_checks.py +++ b/scripts/dev/misc_checks.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. @@ -403,6 +401,25 @@ def check_userscript_shebangs(_args: argparse.Namespace) -> bool: return ok +def check_vim_modelines(args: argparse.Namespace) -> bool: + """Check that we're not using vim modelines.""" + ok = True + try: + for path in _get_files(verbose=args.verbose): + with tokenize.open(str(path)) as f: + for num, line in enumerate(f, start=1): + if not line.startswith("# vim:"): + continue + print(f"{path}:{num}: Remove vim modeline " + "(deprecated in favor of .editorconfig)") + ok = False + except Exception: + traceback.print_exc() + ok = False + + return ok + + def main() -> int: checkers = { 'git': check_git, @@ -412,6 +429,7 @@ def main() -> int: 'userscript-descriptions': check_userscripts_descriptions, 'userscript-shebangs': check_userscript_shebangs, 'changelog-urls': check_changelog_urls, + 'vim-modelines': check_vim_modelines, } parser = argparse.ArgumentParser() diff --git a/scripts/dev/pylint_checkers/qute_pylint/config.py b/scripts/dev/pylint_checkers/qute_pylint/config.py index 420ecb4ec..1f08d66be 100644 --- a/scripts/dev/pylint_checkers/qute_pylint/config.py +++ b/scripts/dev/pylint_checkers/qute_pylint/config.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/pylint_checkers/qute_pylint/modeline.py b/scripts/dev/pylint_checkers/qute_pylint/modeline.py deleted file mode 100644 index 1df2c375e..000000000 --- a/scripts/dev/pylint_checkers/qute_pylint/modeline.py +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - -# This file is part of qutebrowser. -# -# qutebrowser is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# qutebrowser is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. - -"""Checker for vim modelines in files.""" - -import os.path -import contextlib - -from pylint import interfaces, checkers - - -class ModelineChecker(checkers.BaseChecker): - - """Check for vim modelines in files.""" - - __implements__ = interfaces.IRawChecker - - name = 'modeline' - msgs = {'W9102': ('Does not have vim modeline', 'modeline-missing', None), - 'W9103': ('Modeline is invalid', 'invalid-modeline', None), - 'W9104': ('Modeline position is wrong', 'modeline-position', None)} - options = () - priority = -1 - - def process_module(self, node): - """Process the module.""" - if os.path.basename(os.path.splitext(node.file)[0]) == '__init__': - return - max_lineno = 1 - with contextlib.closing(node.stream()) as stream: - for (lineno, line) in enumerate(stream): - if lineno == 1 and line.startswith(b'#!'): - max_lineno += 1 - continue - elif line.startswith(b'# vim:'): - if lineno > max_lineno: - self.add_message('modeline-position', line=lineno) - if (line.rstrip() != b'# vim: ft=python ' - b'fileencoding=utf-8 sts=4 sw=4 et:'): - self.add_message('invalid-modeline', line=lineno) - break - else: - self.add_message('modeline-missing', line=1) - - -def register(linter): - """Register the checker.""" - linter.register_checker(ModelineChecker(linter)) diff --git a/scripts/dev/pylint_checkers/setup.py b/scripts/dev/pylint_checkers/setup.py index e67fbe074..e9bd960bc 100644 --- a/scripts/dev/pylint_checkers/setup.py +++ b/scripts/dev/pylint_checkers/setup.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2016-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/recompile_requirements.py b/scripts/dev/recompile_requirements.py index 8459031e2..8ca895f99 100644 --- a/scripts/dev/recompile_requirements.py +++ b/scripts/dev/recompile_requirements.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2016-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/rewrite_enums.py b/scripts/dev/rewrite_enums.py index cb3dedbd1..2d36f0912 100644 --- a/scripts/dev/rewrite_enums.py +++ b/scripts/dev/rewrite_enums.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2021-2022 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/rewrite_find_enums.py b/scripts/dev/rewrite_find_enums.py index 2ea7e81c6..327705664 100644 --- a/scripts/dev/rewrite_find_enums.py +++ b/scripts/dev/rewrite_find_enums.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2021-2022 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/rewrite_find_flags.py b/scripts/dev/rewrite_find_flags.py index 79436f4c8..9e269ac9b 100644 --- a/scripts/dev/rewrite_find_flags.py +++ b/scripts/dev/rewrite_find_flags.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2021-2022 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/run_profile.py b/scripts/dev/run_profile.py index 2799a031b..ca4e9ce86 100755 --- a/scripts/dev/run_profile.py +++ b/scripts/dev/run_profile.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/run_pylint_on_tests.py b/scripts/dev/run_pylint_on_tests.py index e044de976..a6083bb97 100644 --- a/scripts/dev/run_pylint_on_tests.py +++ b/scripts/dev/run_pylint_on_tests.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/run_shellcheck.sh b/scripts/dev/run_shellcheck.sh index 1556f9654..0cd0c25ed 100644 --- a/scripts/dev/run_shellcheck.sh +++ b/scripts/dev/run_shellcheck.sh @@ -1,6 +1,4 @@ #!/bin/bash -# vim: ft=sh fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index c53fe4a8f..960b5a514 100755 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -1,6 +1,4 @@ #!/usr/bin/env python -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. @@ -100,8 +98,6 @@ def whitelist_generator(): # noqa: C901 for attr in ['msgs', 'priority', 'visit_attribute']: yield 'scripts.dev.pylint_checkers.config.' + attr - for attr in ['visit_call', 'process_module']: - yield 'scripts.dev.pylint_checkers.modeline.' + attr for name, _member in inspect.getmembers(configtypes, inspect.isclass): yield 'qutebrowser.config.configtypes.' + name diff --git a/scripts/dev/src2asciidoc.py b/scripts/dev/src2asciidoc.py index 2ad4dd60b..f1fd50279 100755 --- a/scripts/dev/src2asciidoc.py +++ b/scripts/dev/src2asciidoc.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/dev/standardpaths_tester.py b/scripts/dev/standardpaths_tester.py index 03de7f887..ff85b2a4c 100644 --- a/scripts/dev/standardpaths_tester.py +++ b/scripts/dev/standardpaths_tester.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2017-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/ua_fetch.py b/scripts/dev/ua_fetch.py index 743cd252e..2bcdda2f3 100644 --- a/scripts/dev/ua_fetch.py +++ b/scripts/dev/ua_fetch.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2015-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/dev/update_3rdparty.py b/scripts/dev/update_3rdparty.py index 71d7ae7b5..fd15f2ecd 100755 --- a/scripts/dev/update_3rdparty.py +++ b/scripts/dev/update_3rdparty.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2016-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # Copyright 2015 Daniel Schadt # diff --git a/scripts/dev/update_version.py b/scripts/dev/update_version.py index 67e22ea26..6cf6a1013 100644 --- a/scripts/dev/update_version.py +++ b/scripts/dev/update_version.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2018-2021 Andy Mender <andymenderunix@gmail.com> # Copyright 2019-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> diff --git a/scripts/dictcli.py b/scripts/dictcli.py index 0b14bb831..6a6b49f24 100755 --- a/scripts/dictcli.py +++ b/scripts/dictcli.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2017-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # Copyright 2017-2018 Michal Siedlaczek <michal.siedlaczek@gmail.com> diff --git a/scripts/hist_importer.py b/scripts/hist_importer.py index df12bcf2e..7dc5906e3 100755 --- a/scripts/hist_importer.py +++ b/scripts/hist_importer.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2017-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # Copyright 2017-2018 Josefson Souza <josefson.br@gmail.com> diff --git a/scripts/hostblock_blame.py b/scripts/hostblock_blame.py index b18c62925..271ff2ff0 100644 --- a/scripts/hostblock_blame.py +++ b/scripts/hostblock_blame.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/importer.py b/scripts/importer.py index d23c1e0da..d3817b13f 100755 --- a/scripts/importer.py +++ b/scripts/importer.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # Copyright 2014-2018 Claude (longneck) <longneck@scratchbook.ch> diff --git a/scripts/keytester.py b/scripts/keytester.py index bc9a22263..6d994114d 100644 --- a/scripts/keytester.py +++ b/scripts/keytester.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/link_pyqt.py b/scripts/link_pyqt.py index 028c18ee2..4581bef41 100644 --- a/scripts/link_pyqt.py +++ b/scripts/link_pyqt.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py index f65d36170..625cedd1a 100755 --- a/scripts/mkvenv.py +++ b/scripts/mkvenv.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/opengl_info.py b/scripts/opengl_info.py index 1bfdf22aa..5dc8f81c6 100644 --- a/scripts/opengl_info.py +++ b/scripts/opengl_info.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2020-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/setupcommon.py b/scripts/setupcommon.py index bd549d7cc..15751cbe7 100644 --- a/scripts/setupcommon.py +++ b/scripts/setupcommon.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. diff --git a/scripts/testbrowser/testbrowser_webengine.py b/scripts/testbrowser/testbrowser_webengine.py index 4351d1f7f..9a4f0a30f 100755 --- a/scripts/testbrowser/testbrowser_webengine.py +++ b/scripts/testbrowser/testbrowser_webengine.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/testbrowser/testbrowser_webkit.py b/scripts/testbrowser/testbrowser_webkit.py index 40938d06b..d66f58252 100755 --- a/scripts/testbrowser/testbrowser_webkit.py +++ b/scripts/testbrowser/testbrowser_webkit.py @@ -1,6 +1,4 @@ #!/usr/bin/env python3 -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # # This file is part of qutebrowser. diff --git a/scripts/utils.py b/scripts/utils.py index 6663069c9..87b659545 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -1,5 +1,3 @@ -# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: - # Copyright 2014-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org> # This file is part of qutebrowser. |