summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-12-30 13:51:07 +0100
committerFlorian Bruhin <me@the-compiler.org>2020-12-30 13:51:07 +0100
commit1723278aae786b9511ec7e487e736d2d9747beda (patch)
tree984b379831cb39c214e29af6eaa0a2dd6d55660f
parent1f0ab4c35718ecd41c108e08dd6bc5d075ec4884 (diff)
downloadqutebrowser-1723278aae786b9511ec7e487e736d2d9747beda.tar.gz
qutebrowser-1723278aae786b9511ec7e487e736d2d9747beda.zip
Add additional spelling checks
-rw-r--r--qutebrowser/utils/urlmatch.py2
-rw-r--r--scripts/dev/misc_checks.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/qutebrowser/utils/urlmatch.py b/qutebrowser/utils/urlmatch.py
index e4e4984db..527d3403d 100644
--- a/qutebrowser/utils/urlmatch.py
+++ b/qutebrowser/utils/urlmatch.py
@@ -125,7 +125,7 @@ class UrlPattern:
def _fixup_pattern(self, pattern: str) -> str:
"""Make sure the given pattern is parseable by urllib.parse."""
- if pattern.startswith('*:'): # Any scheme, but *:// is unparseable
+ if pattern.startswith('*:'): # Any scheme, but *:// is unparsable
pattern = 'any:' + pattern[2:]
schemes = tuple(s + ':' for s in self._SCHEMES_WITHOUT_HOST)
diff --git a/scripts/dev/misc_checks.py b/scripts/dev/misc_checks.py
index ad446412c..4b5699086 100644
--- a/scripts/dev/misc_checks.py
+++ b/scripts/dev/misc_checks.py
@@ -161,7 +161,8 @@ def check_spelling(args: argparse.Namespace) -> Optional[bool]:
'exitted', 'mininum', 'resett?ed', 'recieved', 'regularily',
'underlaying', 'inexistant', 'elipsis', 'commiting', 'existant',
'resetted', 'similarily', 'informations', 'an url', 'treshold',
- 'artefact', 'an unix', 'an utf', 'an unicode'}
+ 'artefact', 'an unix', 'an utf', 'an unicode', 'unparseable',
+ 'dependancies', 'convertable', 'chosing', 'authentification'}
# Words which look better when splitted, but might need some fine tuning.
words |= {'webelements', 'mouseevent', 'keysequence', 'normalmode',