Skip to content

Commit b17f2fd

Browse files
committed
Spelling fixes
This is a set of typo fixes which occurred during migration from pylint spell to codespell tool. Signed-off-by: Jan Richter <[email protected]>
1 parent c17c390 commit b17f2fd

File tree

12 files changed

+39
-844
lines changed

12 files changed

+39
-844
lines changed

avocado/utils/asset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ def get_assets_by_size(cls, size_filter, cache_dirs):
610610
value = int(re.match("^(\\D+)(\\d+)$", size_filter).group(2))
611611
except (AttributeError, ValueError) as exc:
612612
msg = (
613-
"Invalid syntax. You need to pass an comparison operatator",
613+
"Invalid syntax. You need to pass an comparison operator",
614614
" and a value. Ex: '>=200'",
615615
)
616616
raise OSError(msg) from exc

avocado/utils/nvme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def detach_ns(controller_name, ns_id, cont_id):
273273
ns_rescan(controller_name)
274274
time.sleep(5)
275275
if is_ns_exists(controller_name, ns_id):
276-
raise NvmeException("namespace dettached but still listing")
276+
raise NvmeException("namespace detached but still listing")
277277

278278

279279
def attach_ns(ns_id, controller_name, cont_id):

docs/source/blueprints/BP003.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ Active Task Status Collection
556556
-----------------------------
557557

558558
Some environments and use cases may require disconnected execution
559-
of tasks. In such cases, a Job will have to activelly poll for
559+
of tasks. In such cases, a Job will have to actively poll for
560560
tasks' statuses, which may be:
561561

562562
1. an operation that happens along the task execution.

docs/source/guides/reference/chapters/runners.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ There are a number of reasons for introducing a different architecture
3232
and implementation. Some of them are related to limitations found in
3333
the legacy implementation, that were found to be too hard to remove
3434
without major breakage. Also, missing features that are deemed
35-
important would be a better fit wihin a different architecture.
35+
important would be a better fit within a different architecture.
3636

3737
For instance, these are the limitations of the Avocado legacy test
3838
runner:
@@ -387,7 +387,7 @@ This status updates are in a format similar to those received from a
387387
runner, but will add more information to them, such as its unique
388388
identifier.
389389

390-
A different agreggate structure,
390+
A different aggregate structure,
391391
:class:`avocado.core.task.runtime.RuntimeTask`, is used to keep track
392392
of the extra information while the task is being run.
393393

docs/source/guides/user/chapters/tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ endianness that is required.
120120

121121

122122
For instance, your tags can now have a key and value pair, like:
123-
``endianess:little`` or ``endianess:big``.
123+
``endianness:little`` or ``endianness:big``.
124124

125125
To list tests without any type of filtering would give you::
126126

docs/source/releases/108_0.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Users/Test Writers
1515
`exec-runnables-recipe`. It allows a user to point to a file that
1616
will be executed, and that is expected to generate (on its ``STDOUT``)
1717
content compatible with the Runnable recipe format. More info
18-
about this new featrue can be found in `documentaion
18+
about this new feature can be found in `documentation
1919
<https://avocado-framework.readthedocs.io/en/latest/guides/writer/chapters/recipes.html#using-dynamically-generated-recipes>`_
2020

2121
* Documentation about avocado-instrumented test lifecycle has been `improved
@@ -35,7 +35,7 @@ Bug Fixes
3535
* Tap runner skipping test failures has been fixed. Now the test
3636
failures will be always visible.
3737

38-
* Fail reason for interuptions during setUp and tearDown has been fixed.
38+
* Fail reason for interruptions during setUp and tearDown has been fixed.
3939

4040
Internal changes
4141
================
@@ -48,7 +48,7 @@ Internal changes
4848

4949
git submodule update --init --recursive
5050

51-
* Functinal tests for Debian has been added to test :mod:`avocado.utils.disto`
51+
* Functional tests for Debian has been added to test :mod:`avocado.utils.disto`
5252

5353
Additional information
5454
======================

docs/source/releases/109_0.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Users/Test Writers
1414
* New test dependency for installing pip packages. The new PIP runner
1515
has been introduced to install pip packages before the test execution
1616
in the test environment. More info about this new feature can be found
17-
in `documentaion <https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/dependencies.html#Pip>`_
17+
in `documentation <https://avocado-framework.readthedocs.io/en/latest/guides/user/chapters/dependencies.html#Pip>`_
1818

1919
* VMimage get --debug option has been added to show more information
2020
about possible failures during image download.

examples/tests/raise.py.data/raise.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/*
66
* Signal numbers are translated to exit code by the shell.
7-
* For example, if SIGUSR1 is raised (sinal number 10) then
7+
* For example, if SIGUSR1 is raised (signal number 10) then
88
* the exit code will be 128+10 = 138.
99
*
1010
* In the case of avocado.utils.process.SubProcess, the exit code is

optional_plugins/html/avocado_result_html/templates/datatables.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2244,7 +2244,7 @@
22442244
/**
22452245
* Allow the result from a type detection function to be `true` while
22462246
* translating that into a string. Old type detection functions will
2247-
* return the type name if it passes. An obect store would be better,
2247+
* return the type name if it passes. An object store would be better,
22482248
* but not backwards compatible.
22492249
*
22502250
* @param {*} typeDetect Object or function for type detection
@@ -5772,7 +5772,7 @@
57725772
masterMap[master[i]] = i;
57735773
}
57745774

5775-
// And then cache what would be the indexOf fom the display
5775+
// And then cache what would be the indexOf from the display
57765776
for (i=0 ; i<display.length ; i++) {
57775777
map[display[i]] = masterMap[display[i]];
57785778
}
@@ -7169,12 +7169,12 @@
71697169
} );
71707170

71717171

7172-
function _api_scope( scope, fn, struc ) {
7172+
function _api_scope( scope, fn, struct ) {
71737173
return function () {
71747174
var ret = fn.apply( scope || this, arguments );
71757175

71767176
// Method extension
7177-
_Api.extend( ret, ret, struc.methodExt );
7177+
_Api.extend( ret, ret, struct.methodExt );
71787178
return ret;
71797179
};
71807180
}
@@ -10566,13 +10566,13 @@
1056610566
"bFilter": true,
1056710567

1056810568
/**
10569-
* Used only for compatiblity with DT1
10569+
* Used only for compatibility with DT1
1057010570
* @deprecated
1057110571
*/
1057210572
"bInfo": true,
1057310573

1057410574
/**
10575-
* Used only for compatiblity with DT1
10575+
* Used only for compatibility with DT1
1057610576
* @deprecated
1057710577
*/
1057810578
"bLengthChange": true,
@@ -11509,13 +11509,13 @@
1150911509
"bFilter": null,
1151011510

1151111511
/**
11512-
* Used only for compatiblity with DT1
11512+
* Used only for compatibility with DT1
1151311513
* @deprecated
1151411514
*/
1151511515
"bInfo": true,
1151611516

1151711517
/**
11518-
* Used only for compatiblity with DT1
11518+
* Used only for compatibility with DT1
1151911519
* @deprecated
1152011520
*/
1152111521
"bLengthChange": true,
@@ -12377,7 +12377,7 @@
1237712377
},
1237812378
order: {
1237912379
pre: function (d) {
12380-
// The renderer gives us Moment, Luxon or Date obects for the sorting, all of which have a
12380+
// The renderer gives us Moment, Luxon or Date objects for the sorting, all of which have a
1238112381
// `valueOf` which gives milliseconds epoch
1238212382
return d.valueOf();
1238312383
}
@@ -13054,7 +13054,7 @@
1305413054
);
1305513055
}
1305613056

13057-
// Find the first visible column that has ordering applied to it - it get's
13057+
// Find the first visible column that has ordering applied to it - it gets
1305813058
// the aria information, as the ARIA spec says that only one column should
1305913059
// be marked with aria-sort
1306013060
var firstVis = -1; // column index
@@ -13311,7 +13311,7 @@
1331113311
opts.text = _fnMacros(settings, opts.text);
1331213312

1331313313
// We can put the <input> outside of the label if it is at the start or end
13314-
// which helps improve accessability (not all screen readers like implicit
13314+
// which helps improve accessibility (not all screen readers like implicit
1331513315
// for elements).
1331613316
var end = opts.text.match(/_INPUT_$/);
1331713317
var start = opts.text.match(/^_INPUT_/);
@@ -13742,7 +13742,7 @@
1374213742
}
1374313743

1374413744
// We can put the <select> outside of the label if it is at the start or
13745-
// end which helps improve accessability (not all screen readers like
13745+
// end which helps improve accessibility (not all screen readers like
1374613746
// implicit for elements).
1374713747
var end = opts.text.match(/_MENU_$/);
1374813748
var start = opts.text.match(/^_MENU_/);

optional_plugins/html/avocado_result_html/templates/jquery.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4051,7 +4051,7 @@ jQuery.fn.extend( {
40514051
elem = this[ 0 ],
40524052
attrs = elem && elem.attributes;
40534053

4054-
// Special expections of .data basically thwart jQuery.access,
4054+
// Special exceptions of .data basically thwart jQuery.access,
40554055
// so implement the relevant behavior ourselves
40564056

40574057
// Gets all values
@@ -6069,7 +6069,7 @@ function domManip( collection, args, callback, ignored ) {
60696069
if ( hasScripts ) {
60706070
doc = scripts[ scripts.length - 1 ].ownerDocument;
60716071

6072-
// Reenable scripts
6072+
// Re-enable scripts
60736073
jQuery.map( scripts, restoreScript );
60746074

60756075
// Evaluate executable scripts on first document insertion
@@ -7118,7 +7118,7 @@ jQuery.extend( {
71187118
value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" );
71197119
}
71207120

7121-
// Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
7121+
// Fixes #8908, it can be done more correctly by specifying setters in cssHooks,
71227122
// but it would mean to define eight
71237123
// (for every problematic property) identical functions
71247124
if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) {
@@ -7705,7 +7705,7 @@ function propFilter( props, specialEasing ) {
77057705
value = hooks.expand( value );
77067706
delete props[ name ];
77077707

7708-
// not quite $.extend, this wont overwrite keys already present.
7708+
// not quite $.extend, this won't overwrite keys already present.
77097709
// also - reusing 'index' from above because we have the correct "name"
77107710
for ( index in value ) {
77117711
if ( !( index in props ) ) {
@@ -10521,7 +10521,7 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
1052110521
// Save back as free
1052210522
if ( s[ callbackName ] ) {
1052310523

10524-
// make sure that re-using the options doesn't screw things around
10524+
// make sure that reusing the options doesn't screw things around
1052510525
s.jsonpCallback = originalSettings.jsonpCallback;
1052610526

1052710527
// save the callback name for future use

0 commit comments

Comments
 (0)