Fix some typos
This commit is contained in:
parent
c14f646198
commit
6e0c17b510
|
|
@ -79,7 +79,7 @@ QtWebEngine is based on Google's https://www.chromium.org/Home[Chromium]. While
|
|||
Qt only updates to a new Chromium release on every minor Qt release (all ~6
|
||||
months), every patch release backports security fixes from newer Chromium
|
||||
versions. In other words: As long as you're using an up-to-date Qt, you should
|
||||
be recieving security updates on a regular basis, without qutebrowser having to
|
||||
be receiving security updates on a regular basis, without qutebrowser having to
|
||||
do anything. Chromium's process isolation and
|
||||
https://chromium.googlesource.com/chromium/src/+/master/docs/design/sandbox.md[sandboxing]
|
||||
features are also enabled as a second line of defense.
|
||||
|
|
@ -314,7 +314,7 @@ Lastly, set your `qt.args` to point to that directory and restart qutebrowser:
|
|||
Unable to use `spawn` on MacOS.::
|
||||
When running qutebrowser from the prebuilt binary (`qutebrowser.app`) it *will
|
||||
not* read any files that would alter your `$PATH` (e.g. `.profile`, `.bashrc`,
|
||||
etc). This is not a bug, just that `.profile` is not propogated to GUI
|
||||
etc). This is not a bug, just that `.profile` is not propagated to GUI
|
||||
applications in MacOS.
|
||||
+
|
||||
See https://github.com/qutebrowser/qutebrowser/issues/4273[Issue #4273] for
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ def run(args):
|
|||
# Enter username and password using insert-key and fake-key <Tab>
|
||||
# (which supports more passwords than fake-key only), then switch back
|
||||
# into insert-mode, so the form can be directly submitted by hitting
|
||||
# enter afterwards. It dosen't matter when we go into insert mode, but
|
||||
# enter afterwards. It doesn't matter when we go into insert mode, but
|
||||
# the other commands need to be be executed sequentially, so we add
|
||||
# delays with later.
|
||||
qute_command('insert-text {} ;;'
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
|
||||
const head = document.getElementsByTagName("head")[0];
|
||||
if (head === undefined) {
|
||||
// no head yet, stick it whereever
|
||||
// no head yet, stick it wherever
|
||||
document.documentElement.appendChild(oStyle);
|
||||
} else {
|
||||
head.appendChild(oStyle);
|
||||
|
|
|
|||
|
|
@ -250,7 +250,7 @@ window._qutebrowser.webelem = (function() {
|
|||
};
|
||||
|
||||
// Runs a function in a frame until the result is not null, then return
|
||||
// If no frame succeds, return null
|
||||
// If no frame succeeds, return null
|
||||
function run_frames(func) {
|
||||
for (let i = 0; i < window.frames.length; ++i) {
|
||||
const frame = window.frames[i];
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class Message:
|
|||
text = attr.ib()
|
||||
|
||||
|
||||
MsgType = enum.Enum('MsgType', 'insufficent_coverage, perfect_file')
|
||||
MsgType = enum.Enum('MsgType', 'insufficient_coverage, perfect_file')
|
||||
|
||||
|
||||
# A list of (test_file, tested_file) tuples. test_file can be None.
|
||||
|
|
@ -276,7 +276,7 @@ def check(fileobj, perfect_files):
|
|||
if filename in perfect_src_files and is_bad:
|
||||
text = "{} has {:.2f}% line and {:.2f}% branch coverage!".format(
|
||||
filename, line_cov, branch_cov)
|
||||
messages.append(Message(MsgType.insufficent_coverage, filename,
|
||||
messages.append(Message(MsgType.insufficient_coverage, filename,
|
||||
text))
|
||||
elif (filename not in perfect_src_files and not is_bad and
|
||||
filename not in WHITELISTED_FILES):
|
||||
|
|
@ -339,7 +339,7 @@ def main_check_all():
|
|||
os.remove('coverage.xml')
|
||||
|
||||
messages = [msg for msg in messages
|
||||
if msg.typ == MsgType.insufficent_coverage]
|
||||
if msg.typ == MsgType.insufficient_coverage]
|
||||
if messages:
|
||||
for msg in messages:
|
||||
print(msg.text)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ def test_untested(covtest):
|
|||
""")
|
||||
covtest.run()
|
||||
expected = check_coverage.Message(
|
||||
check_coverage.MsgType.insufficent_coverage,
|
||||
check_coverage.MsgType.insufficient_coverage,
|
||||
'module.py',
|
||||
'module.py has 75.00% line and 100.00% branch coverage!')
|
||||
assert covtest.check() == [expected]
|
||||
|
|
@ -159,7 +159,7 @@ def test_untested_floats(covtest):
|
|||
""")
|
||||
covtest.run()
|
||||
expected = check_coverage.Message(
|
||||
check_coverage.MsgType.insufficent_coverage,
|
||||
check_coverage.MsgType.insufficient_coverage,
|
||||
'module.py',
|
||||
'module.py has 58.33% line and 100.00% branch coverage!')
|
||||
assert covtest.check() == [expected]
|
||||
|
|
@ -178,7 +178,7 @@ def test_untested_branches(covtest):
|
|||
""")
|
||||
covtest.run()
|
||||
expected = check_coverage.Message(
|
||||
check_coverage.MsgType.insufficent_coverage,
|
||||
check_coverage.MsgType.insufficient_coverage,
|
||||
'module.py',
|
||||
'module.py has 100.00% line and 50.00% branch coverage!')
|
||||
assert covtest.check() == [expected]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ MANIFEST.json
|
|||
-------------
|
||||
|
||||
Here's an excerpt of the https://github.com/google/fonts/blob/master/apache/opensans/METADATA.json[MANIFEST.json] file
|
||||
from https://github.com/google/fonts/blob/master/apache/opensans/[the offical repository]:
|
||||
from https://github.com/google/fonts/blob/master/apache/opensans/[the official repository]:
|
||||
|
||||
----
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue