From c8004e4653975915b461ff8b0fbb1d91cba66611 Mon Sep 17 00:00:00 2001 From: freddii Date: Mon, 28 Dec 2020 20:21:32 +0100 Subject: fixed typing mistake --- doc/faq.asciidoc | 2 +- pytest.ini | 2 +- qutebrowser/api/config.py | 2 +- qutebrowser/app.py | 2 +- qutebrowser/browser/downloads.py | 2 +- qutebrowser/browser/greasemonkey.py | 6 +++--- qutebrowser/browser/history.py | 2 +- qutebrowser/browser/webengine/darkmode.py | 2 +- qutebrowser/browser/webengine/webenginetab.py | 4 ++-- qutebrowser/browser/webkit/webkittab.py | 2 +- qutebrowser/completion/completer.py | 2 +- qutebrowser/html/warning-webkit.html | 2 +- qutebrowser/javascript/pac_utils.js | 2 +- tests/end2end/features/prompts.feature | 6 +++--- tests/end2end/features/spawn.feature | 2 +- tests/end2end/fixtures/test_quteprocess.py | 2 +- 16 files changed, 21 insertions(+), 21 deletions(-) diff --git a/doc/faq.asciidoc b/doc/faq.asciidoc index 39df56faa..16a791975 100644 --- a/doc/faq.asciidoc +++ b/doc/faq.asciidoc @@ -474,7 +474,7 @@ Can you share details on the swag?:: + image:https://qutebrowser.org/img/sponsors/swag.jpg["swag",width=300,link="https://qutebrowser.org/img/sponsors/swag.jpg"] + -It's planned to order more swag, depending on the exact demand. Possibilites +It's planned to order more swag, depending on the exact demand. Possibilities would include: + - qutebrowser pens (refillable) diff --git a/pytest.ini b/pytest.ini index f936a02cb..3705a17ef 100644 --- a/pytest.ini +++ b/pytest.ini @@ -31,7 +31,7 @@ markers = qtwebengine_flaky: Tests which are flaky (and currently skipped) with QtWebEngine qtwebengine_mac_xfail: Tests which fail on macOS with QtWebEngine this: Used to mark tests during development - no_invalid_lines: Don't fail on unparseable lines in end2end tests + no_invalid_lines: Don't fail on unparsable lines in end2end tests fake_os: Fake utils.is_* to a fake operating system unicode_locale: Tests which need a unicode locale to work qtwebkit6021_xfail: Tests which would fail on WebKit version 602.1 diff --git a/qutebrowser/api/config.py b/qutebrowser/api/config.py index fb363d858..02d48ec3a 100644 --- a/qutebrowser/api/config.py +++ b/qutebrowser/api/config.py @@ -25,7 +25,7 @@ from PyQt5.QtCore import QUrl from qutebrowser.config import config -#: Simplified access to config values using attribute acccess. +#: Simplified access to config values using attribute access. #: For example, to access the ``content.javascript.enabled`` setting, #: you can do:: #: diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 76d52470a..d2e9468aa 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -406,7 +406,7 @@ def open_desktopservices_url(url): # This is effectively a @config.change_filter -# Howerver, logging is initialized too early to use that annotation +# However, logging is initialized too early to use that annotation def _on_config_changed(name: str) -> None: if name.startswith('logging.'): log.init_from_config(config.val) diff --git a/qutebrowser/browser/downloads.py b/qutebrowser/browser/downloads.py index 96220897c..b179013fc 100644 --- a/qutebrowser/browser/downloads.py +++ b/qutebrowser/browser/downloads.py @@ -1291,7 +1291,7 @@ class TempDownloadManager: """Manager to handle temporary download files. - The downloads are downloaded to a temporary location and then openened with + The downloads are downloaded to a temporary location and then opened with the system standard application. The temporary files are deleted when qutebrowser is shutdown. diff --git a/qutebrowser/browser/greasemonkey.py b/qutebrowser/browser/greasemonkey.py index df8b2b0c2..9e25e49bd 100644 --- a/qutebrowser/browser/greasemonkey.py +++ b/qutebrowser/browser/greasemonkey.py @@ -299,7 +299,7 @@ class GreasemonkeyManager(QObject): """Add a GreasemonkeyScript to this manager. Args: - force: Fetch and overwrite any dependancies which are + force: Fetch and overwrite any dependencies which are already locally cached. """ if script.requires: @@ -345,7 +345,7 @@ class GreasemonkeyManager(QObject): def _add_script_with_requires(self, script, quiet=False): """Add a script with pending downloads to this GreasemonkeyManager. - Specifically a script that has dependancies specified via an + Specifically a script that has dependencies specified via an `@require` rule. Args: @@ -353,7 +353,7 @@ class GreasemonkeyManager(QObject): quiet: True to suppress the scripts_reloaded signal after adding `script`. Returns: True if the script was added, False if there are still - dependancies being downloaded. + dependencies being downloaded. """ # See if we are still waiting on any required scripts for this one for dl in self._in_progress_dls: diff --git a/qutebrowser/browser/history.py b/qutebrowser/browser/history.py index 89061cebf..04cc5a088 100644 --- a/qutebrowser/browser/history.py +++ b/qutebrowser/browser/history.py @@ -150,7 +150,7 @@ class WebHistory(sql.SqlTable): 'redirect': 'NOT NULL'}, parent=parent) self._progress = progress - # Store the last saved url to avoid duplicate immedate saves. + # Store the last saved url to avoid duplicate immediate saves. self._last_url = None self.completion = CompletionHistory(parent=self) diff --git a/qutebrowser/browser/webengine/darkmode.py b/qutebrowser/browser/webengine/darkmode.py index d067edea3..c9d69d52d 100644 --- a/qutebrowser/browser/webengine/darkmode.py +++ b/qutebrowser/browser/webengine/darkmode.py @@ -135,7 +135,7 @@ _DarkModeSettingsType = Iterable[ Tuple[ str, # qutebrowser option name str, # darkmode setting name - # Mapping from the config value to a string (or something convertable + # Mapping from the config value to a string (or something convertible # to a string) which gets passed to Chromium. Optional[Mapping[Any, Union[str, int]]], ], diff --git a/qutebrowser/browser/webengine/webenginetab.py b/qutebrowser/browser/webengine/webenginetab.py index 98a6bf05d..8e5ea3a52 100644 --- a/qutebrowser/browser/webengine/webenginetab.py +++ b/qutebrowser/browser/webengine/webenginetab.py @@ -699,7 +699,7 @@ class WebEngineZoom(browsertab.AbstractZoom): class WebEngineElements(browsertab.AbstractElements): - """QtWebEngine implemementations related to elements on the page.""" + """QtWebEngine implementations related to elements on the page.""" _tab: 'WebEngineTab' @@ -772,7 +772,7 @@ class WebEngineElements(browsertab.AbstractElements): class WebEngineAudio(browsertab.AbstractAudio): - """QtWebEngine implemementations related to audio/muting. + """QtWebEngine implementations related to audio/muting. Attributes: _overridden: Whether the user toggled muting manually. diff --git a/qutebrowser/browser/webkit/webkittab.py b/qutebrowser/browser/webkit/webkittab.py index 69773fa57..c5f78cfe9 100644 --- a/qutebrowser/browser/webkit/webkittab.py +++ b/qutebrowser/browser/webkit/webkittab.py @@ -687,7 +687,7 @@ class WebKitHistory(browsertab.AbstractHistory): class WebKitElements(browsertab.AbstractElements): - """QtWebKit implemementations related to elements on the page.""" + """QtWebKit implementations related to elements on the page.""" _tab: 'WebKitTab' diff --git a/qutebrowser/completion/completer.py b/qutebrowser/completion/completer.py index b06611bc0..d66e3ee40 100644 --- a/qutebrowser/completion/completer.py +++ b/qutebrowser/completion/completer.py @@ -150,7 +150,7 @@ class Completer(QObject): parts.insert(i, '') prefix = [x.strip() for x in parts[:i]] center = parts[i].strip() - # strip trailing whitepsace included as a separate token + # strip trailing whitespace included as a separate token postfix = [x.strip() for x in parts[i+1:] if not x.isspace()] log.completion.debug( "partitioned: {} '{}' {}".format(prefix, center, postfix)) diff --git a/qutebrowser/html/warning-webkit.html b/qutebrowser/html/warning-webkit.html index a46871089..975f98c1b 100644 --- a/qutebrowser/html/warning-webkit.html +++ b/qutebrowser/html/warning-webkit.html @@ -73,7 +73,7 @@ installed.

developers about QtWebEngine being "non-free" have repeatedly been disputed, and so far nobody came up with solid evidence about that being the case. Also, note that their qutebrowser package is usually very outdated (even qutebrowser -security fixes took months to arrive there). You might be better off chosing an +security fixes took months to arrive there). You might be better off choosing an alternative install method.

diff --git a/qutebrowser/javascript/pac_utils.js b/qutebrowser/javascript/pac_utils.js index a7ac2d414..f93c85a87 100644 --- a/qutebrowser/javascript/pac_utils.js +++ b/qutebrowser/javascript/pac_utils.js @@ -145,7 +145,7 @@ function dateRange() { if (isGMT) { argc--; } - // function will work even without explict handling of this case + // function will work even without explicit handling of this case if (argc == 1) { var tmp = parseInt(arguments[0]); if (isNaN(tmp)) { diff --git a/tests/end2end/features/prompts.feature b/tests/end2end/features/prompts.feature index a0b550054..8562b50c4 100644 --- a/tests/end2end/features/prompts.feature +++ b/tests/end2end/features/prompts.feature @@ -1,7 +1,7 @@ # vim: ft=cucumber fileencoding=utf-8 sts=4 sw=4 et: Feature: Prompts - Various prompts (javascript, SSL errors, authentification, etc.) + Various prompts (javascript, SSL errors, authentication, etc.) # Javascript @@ -319,7 +319,7 @@ Feature: Prompts # Page authentication - Scenario: Successful webpage authentification + Scenario: Successful webpage authentication When I open basic-auth/user1/password1 without waiting And I wait for a prompt And I press the keys "user1" @@ -372,7 +372,7 @@ Feature: Prompts } @qtwebengine_skip - Scenario: Cancellling webpage authentification with QtWebKit + Scenario: Cancellling webpage authentication with QtWebKit When I open basic-auth/user6/password6 without waiting And I wait for a prompt And I run :leave-mode diff --git a/tests/end2end/features/spawn.feature b/tests/end2end/features/spawn.feature index e0972da20..11b344439 100644 --- a/tests/end2end/features/spawn.feature +++ b/tests/end2end/features/spawn.feature @@ -14,7 +14,7 @@ Feature: :spawn When I run :spawn -u this_does_not_exist Then the error "Userscript 'this_does_not_exist' not found in userscript directories *" should be shown - Scenario: Starting a userscript with absoloute path which doesn't exist + Scenario: Starting a userscript with absolute path which doesn't exist When I run :spawn -u /this_does_not_exist Then the error "Userscript '/this_does_not_exist' not found" should be shown diff --git a/tests/end2end/fixtures/test_quteprocess.py b/tests/end2end/fixtures/test_quteprocess.py index 30c85d5ba..5693f11e9 100644 --- a/tests/end2end/fixtures/test_quteprocess.py +++ b/tests/end2end/fixtures/test_quteprocess.py @@ -351,7 +351,7 @@ def test_set(quteproc, value): @pytest.mark.parametrize('message, ignored', [ - # Unparseable + # Unparsable ('Hello World', False), # Without process/thread ID ('[0606/135039:ERROR:cert_verify_proc_nss.cc(925)] CERT_PKIXVerifyCert ' -- cgit v1.2.3-54-g00ecf