diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-01-26 15:16:36 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-01-26 15:19:01 +0100 |
commit | 1a4fff1a4216d4d2736621527e2ff6c744ab6656 (patch) | |
tree | e31c962c150353f37826c276f50c7d6530d022ed /scripts | |
parent | eeb26a6aa8e9ddc7b48d656ea93dea987ee88c79 (diff) | |
download | qutebrowser-1a4fff1a4216d4d2736621527e2ff6c744ab6656.tar.gz qutebrowser-1a4fff1a4216d4d2736621527e2ff6c744ab6656.zip |
doc: Switch URLs to https
Diffstat (limited to 'scripts')
36 files changed, 43 insertions, 39 deletions
diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index 4c72aeafd..44e6ab048 100755 --- a/scripts/asciidoc2html.py +++ b/scripts/asciidoc2html.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Generate the html documentation based on the asciidoc files.""" diff --git a/scripts/dev/build_pyqt_wheel.py b/scripts/dev/build_pyqt_wheel.py index 0d647bbd7..b63331341 100644 --- a/scripts/dev/build_pyqt_wheel.py +++ b/scripts/dev/build_pyqt_wheel.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Build updated PyQt wheels.""" diff --git a/scripts/dev/build_release.py b/scripts/dev/build_release.py index f0784755e..b4fee48a2 100755 --- a/scripts/dev/build_release.py +++ b/scripts/dev/build_release.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Build a new release.""" diff --git a/scripts/dev/check_coverage.py b/scripts/dev/check_coverage.py index 37769603e..58a6b2873 100644 --- a/scripts/dev/check_coverage.py +++ b/scripts/dev/check_coverage.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Enforce perfect coverage on some files.""" diff --git a/scripts/dev/check_doc_changes.py b/scripts/dev/check_doc_changes.py index 6cdbbaf27..5e3a457b6 100755 --- a/scripts/dev/check_doc_changes.py +++ b/scripts/dev/check_doc_changes.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Check if docs changed and output an error if so.""" diff --git a/scripts/dev/ci/docker/generate.py b/scripts/dev/ci/docker/generate.py index b7c97ad73..2ab25f325 100644 --- a/scripts/dev/ci/docker/generate.py +++ b/scripts/dev/ci/docker/generate.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Generate Dockerfiles for qutebrowser's CI.""" diff --git a/scripts/dev/ci/problemmatchers.py b/scripts/dev/ci/problemmatchers.py index f71b2115e..d479b3efb 100644 --- a/scripts/dev/ci/problemmatchers.py +++ b/scripts/dev/ci/problemmatchers.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Register problem matchers for GitHub Actions. diff --git a/scripts/dev/cleanup.py b/scripts/dev/cleanup.py index 119da0d8c..4f4842f3b 100755 --- a/scripts/dev/cleanup.py +++ b/scripts/dev/cleanup.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Script to clean up the mess made by Python/setuptools/PyInstaller.""" diff --git a/scripts/dev/gen_resources.py b/scripts/dev/gen_resources.py index 785c40907..dd76c123e 100644 --- a/scripts/dev/gen_resources.py +++ b/scripts/dev/gen_resources.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Generate Qt resources based on source files.""" diff --git a/scripts/dev/gen_versioninfo.py b/scripts/dev/gen_versioninfo.py index 513961296..56610721d 100644 --- a/scripts/dev/gen_versioninfo.py +++ b/scripts/dev/gen_versioninfo.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Generate file_version_info.txt for Pyinstaller use with Windows builds.""" diff --git a/scripts/dev/get_coredumpctl_traces.py b/scripts/dev/get_coredumpctl_traces.py index 33c2111d6..88a0a5b0c 100644 --- a/scripts/dev/get_coredumpctl_traces.py +++ b/scripts/dev/get_coredumpctl_traces.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Get qutebrowser crash information and stacktraces from coredumpctl.""" diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py index 4b137d93c..ae766c878 100644 --- a/scripts/dev/misc_checks.py +++ b/scripts/dev/misc_checks.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Various small code checkers.""" @@ -218,6 +218,10 @@ def check_spelling(args: argparse.Namespace) -> Optional[bool]: re.compile(r'attr\.(s|ib)($|\()'), "attrs have been replaced by dataclasses in qutebrowser.", ), + ( + re.compile(r'http://www\.gnu\.org/licenses/'), + "use https:// URL.", + ), ] # Files which should be ignored, e.g. because they come from another diff --git a/scripts/dev/pylint_checkers/qute_pylint/config.py b/scripts/dev/pylint_checkers/qute_pylint/config.py index 93e04a41b..420ecb4ec 100644 --- a/scripts/dev/pylint_checkers/qute_pylint/config.py +++ b/scripts/dev/pylint_checkers/qute_pylint/config.py @@ -15,7 +15,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Custom astroid checker for config calls.""" diff --git a/scripts/dev/pylint_checkers/qute_pylint/modeline.py b/scripts/dev/pylint_checkers/qute_pylint/modeline.py index ddea6cb02..114cfaf94 100644 --- a/scripts/dev/pylint_checkers/qute_pylint/modeline.py +++ b/scripts/dev/pylint_checkers/qute_pylint/modeline.py @@ -14,7 +14,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Checker for vim modelines in files.""" diff --git a/scripts/dev/pylint_checkers/qute_pylint/openencoding.py b/scripts/dev/pylint_checkers/qute_pylint/openencoding.py index 54523bcc0..972a55db8 100644 --- a/scripts/dev/pylint_checkers/qute_pylint/openencoding.py +++ b/scripts/dev/pylint_checkers/qute_pylint/openencoding.py @@ -15,7 +15,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Make sure open() has an encoding set.""" diff --git a/scripts/dev/pylint_checkers/setup.py b/scripts/dev/pylint_checkers/setup.py index 7af51fe3a..e67fbe074 100644 --- a/scripts/dev/pylint_checkers/setup.py +++ b/scripts/dev/pylint_checkers/setup.py @@ -17,7 +17,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """This is only here so we can install those plugins in tox.ini easily.""" diff --git a/scripts/dev/recompile_requirements.py b/scripts/dev/recompile_requirements.py index 669af09a0..d227ac28e 100644 --- a/scripts/dev/recompile_requirements.py +++ b/scripts/dev/recompile_requirements.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Script to regenerate requirements files in misc/requirements.""" @@ -39,7 +39,7 @@ REQ_DIR = os.path.join(REPO_DIR, 'misc', 'requirements') CHANGELOG_URLS = { 'pyparsing': 'https://github.com/pyparsing/pyparsing/blob/master/CHANGES', - 'pylint': 'http://pylint.pycqa.org/en/latest/whatsnew/changelog.html', + 'pylint': 'https://pylint.pycqa.org/en/latest/whatsnew/changelog.html', 'isort': 'https://pycqa.github.io/isort/CHANGELOG/', 'lazy-object-proxy': 'https://github.com/ionelmc/python-lazy-object-proxy/blob/master/CHANGELOG.rst', 'mccabe': 'https://github.com/PyCQA/mccabe#changes', @@ -75,7 +75,7 @@ CHANGELOG_URLS = { 'virtualenv': 'https://virtualenv.pypa.io/en/latest/changelog.html', 'packaging': 'https://packaging.pypa.io/en/latest/changelog.html', 'build': 'https://github.com/pypa/build/commits/master', - 'attrs': 'http://www.attrs.org/en/stable/changelog.html', + 'attrs': 'https://www.attrs.org/en/stable/changelog.html', 'Jinja2': 'https://github.com/pallets/jinja/blob/master/CHANGES.rst', 'MarkupSafe': 'https://markupsafe.palletsprojects.com/en/1.1.x/changes/', 'flake8': 'https://gitlab.com/pycqa/flake8/tree/master/docs/source/release-notes', @@ -103,7 +103,7 @@ CHANGELOG_URLS = { 'hunter': 'https://github.com/ionelmc/python-hunter/blob/master/CHANGELOG.rst', 'uritemplate': 'https://github.com/python-hyper/uritemplate/blob/master/HISTORY.rst', 'more-itertools': 'https://github.com/erikrose/more-itertools/blob/master/docs/versions.rst', - 'pydocstyle': 'http://www.pydocstyle.org/en/latest/release_notes.html', + 'pydocstyle': 'https://www.pydocstyle.org/en/latest/release_notes.html', 'Sphinx': 'https://www.sphinx-doc.org/en/master/changes.html', 'Babel': 'https://github.com/python-babel/babel/blob/master/CHANGES', 'alabaster': 'https://alabaster.readthedocs.io/en/latest/changelog.html', diff --git a/scripts/dev/run_profile.py b/scripts/dev/run_profile.py index dbf4e523a..2799a031b 100755 --- a/scripts/dev/run_profile.py +++ b/scripts/dev/run_profile.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Profile qutebrowser.""" diff --git a/scripts/dev/run_pylint_on_tests.py b/scripts/dev/run_pylint_on_tests.py index 270f841d9..16a281d57 100644 --- a/scripts/dev/run_pylint_on_tests.py +++ b/scripts/dev/run_pylint_on_tests.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Run pylint on tests. diff --git a/scripts/dev/run_shellcheck.sh b/scripts/dev/run_shellcheck.sh index c1982fc2f..1556f9654 100644 --- a/scripts/dev/run_shellcheck.sh +++ b/scripts/dev/run_shellcheck.sh @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. set -e diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index 8d74a7063..fab46b115 100755 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Run vulture on the source files and filter out false-positives.""" diff --git a/scripts/dev/src2asciidoc.py b/scripts/dev/src2asciidoc.py index 8ce6ce6b5..4f05f98ca 100755 --- a/scripts/dev/src2asciidoc.py +++ b/scripts/dev/src2asciidoc.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Generate asciidoc source for qutebrowser based on docstrings.""" diff --git a/scripts/dev/standardpaths_tester.py b/scripts/dev/standardpaths_tester.py index d9f74f89e..03de7f887 100644 --- a/scripts/dev/standardpaths_tester.py +++ b/scripts/dev/standardpaths_tester.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Show various QStandardPath paths.""" diff --git a/scripts/dev/update_3rdparty.py b/scripts/dev/update_3rdparty.py index 3b8e80d2f..dc1c4f289 100755 --- a/scripts/dev/update_3rdparty.py +++ b/scripts/dev/update_3rdparty.py @@ -17,7 +17,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Update all third-party-modules.""" diff --git a/scripts/dev/update_version.py b/scripts/dev/update_version.py index eac94e242..e7e0547d7 100644 --- a/scripts/dev/update_version.py +++ b/scripts/dev/update_version.py @@ -17,7 +17,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Update version numbers using bump2version.""" diff --git a/scripts/dictcli.py b/scripts/dictcli.py index f59ae200a..8cb93fb8a 100755 --- a/scripts/dictcli.py +++ b/scripts/dictcli.py @@ -17,7 +17,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """A script installing Hunspell dictionaries. diff --git a/scripts/hist_importer.py b/scripts/hist_importer.py index d9a985509..6f2b9fa87 100755 --- a/scripts/hist_importer.py +++ b/scripts/hist_importer.py @@ -17,7 +17,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Tool to import browser history from other browsers.""" diff --git a/scripts/hostblock_blame.py b/scripts/hostblock_blame.py index 44a270c85..38acaa58d 100644 --- a/scripts/hostblock_blame.py +++ b/scripts/hostblock_blame.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Check by which hostblock list a host was blocked.""" diff --git a/scripts/importer.py b/scripts/importer.py index 5090a2631..d23c1e0da 100755 --- a/scripts/importer.py +++ b/scripts/importer.py @@ -17,7 +17,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Tool to import data from other browsers. diff --git a/scripts/keytester.py b/scripts/keytester.py index ff1830e9b..bc9a22263 100644 --- a/scripts/keytester.py +++ b/scripts/keytester.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Small test script to show key presses. diff --git a/scripts/link_pyqt.py b/scripts/link_pyqt.py index 9c2802dc2..6df48198c 100644 --- a/scripts/link_pyqt.py +++ b/scripts/link_pyqt.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Symlink PyQt into a given virtualenv.""" diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py index 05607bc2e..d510ba75b 100644 --- a/scripts/mkvenv.py +++ b/scripts/mkvenv.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Create a local virtualenv with a PyQt install.""" diff --git a/scripts/setupcommon.py b/scripts/setupcommon.py index a9361e1e8..b1d246044 100644 --- a/scripts/setupcommon.py +++ b/scripts/setupcommon.py @@ -15,7 +15,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Data used by setup.py and the PyInstaller qutebrowser.spec.""" diff --git a/scripts/testbrowser/testbrowser_webengine.py b/scripts/testbrowser/testbrowser_webengine.py index ee0b2a395..73fa6828e 100755 --- a/scripts/testbrowser/testbrowser_webengine.py +++ b/scripts/testbrowser/testbrowser_webengine.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Very simple browser for testing purposes.""" diff --git a/scripts/testbrowser/testbrowser_webkit.py b/scripts/testbrowser/testbrowser_webkit.py index cb53b6ff2..40938d06b 100755 --- a/scripts/testbrowser/testbrowser_webkit.py +++ b/scripts/testbrowser/testbrowser_webkit.py @@ -16,7 +16,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Very simple browser for testing purposes.""" diff --git a/scripts/utils.py b/scripts/utils.py index 7deb93ded..6663069c9 100644 --- a/scripts/utils.py +++ b/scripts/utils.py @@ -15,7 +15,7 @@ # 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 <http://www.gnu.org/licenses/>. +# along with qutebrowser. If not, see <https://www.gnu.org/licenses/>. """Utility functions for scripts.""" |