Skip to content

Commit 01f1bb4

Browse files
authored
docs: fix typos found via codespell in scripts (#5474)
1 parent ac58e93 commit 01f1bb4

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

scripts/d.polar/polar_diagram.eps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
/lower-font-val exch def
9191
} def
9292
%
93-
% Justfication offset routines
93+
% Justification offset routines
9494
%
9595
/center-x-just % stack: (string) x y => (string) newx y
9696
{

scripts/d.polar/ps_defs.eps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
/lower-font-val exch def
3636
} def
3737
%
38-
% Justfication offset routines
38+
% Justification offset routines
3939
%
4040
/center-x-just % stack: (string) x y => (string) newx y
4141
{

scripts/g.extension/g.extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ def get_wxgui_extensions(url):
10041004

10051005

10061006
def cleanup():
1007-
"""Cleanup after the downloads and copilation"""
1007+
"""Cleanup after the downloads and compilation"""
10081008
if REMOVE_TMPDIR:
10091009
try_rmdir(TMPDIR)
10101010

scripts/g.extension/testsuite/test_addons_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def test_github_official_module_man_page_src_code_links_exists(self):
218218
def test_github_install_official_multimodule_and_check_metadata(self):
219219
"""Test installing multi-module extension from official addons
220220
repository without printing warning no metadata available message
221-
for module wich install HTML page file only"""
221+
for module which install HTML page file only"""
222222
extension = "i.sentinel"
223223
gextension = SimpleModule(
224224
"g.extension",

scripts/i.pansharpen/i.pansharpen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def matchhist(original, target, matched):
755755

756756
cum_cells += num_cells
757757

758-
# cdf is the the number of cells at or below a given grey value
758+
# cdf is the number of cells at or below a given grey value
759759
# divided by the total number of cells
760760
cdf = float(cum_cells) / float(total_cells)
761761

scripts/r.colors.stddev/r.colors.stddev.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2>DESCRIPTION</h2>
1010
<p>For a differences map there is an option to lock the center of the color
1111
table at zero. Values more than two S.D. below the mean will be colored blue;
1212
values below the mean but less than 2 S.D. away will transition to white,
13-
and above the mean the colors will simularly transition to full red at +2 S.D.
13+
and above the mean the colors will similarly transition to full red at +2 S.D.
1414

1515
<h2>EXAMPLE</h2>
1616

scripts/r.colors.stddev/r.colors.stddev.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ colored red, and beyond 3 S.D. are colored black.
1111
For a differences map there is an option to lock the center of the color
1212
table at zero. Values more than two S.D. below the mean will be colored
1313
blue; values below the mean but less than 2 S.D. away will transition to
14-
white, and above the mean the colors will simularly transition to full
14+
white, and above the mean the colors will similarly transition to full
1515
red at +2 S.D.
1616

1717
## EXAMPLE

scripts/r.in.wms/wms_cap_parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(self, cap_file, force_version=None):
8888
If the capabilities file cannot be parsed if it raises
8989
xml.etree.ElementTree.ParseError.
9090
91-
The class manges inheritance in 'Layer' elements. Inherited elements
91+
The class manages inheritance in 'Layer' elements. Inherited elements
9292
are added to 'Layer' element.
9393
The class also removes elements which are in invalid form and are needed
9494
by wxGUI capabilities dialog.

scripts/v.dissolve/tests/v_dissolve_aggregate_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ def test_sql_expressions_accepted(dataset):
366366

367367

368368
def test_no_methods_with_univar_and_result_columns_fail(dataset):
369-
"""Omitting methods as for sql backend is forbiden for univar"""
369+
"""Omitting methods as for sql backend is forbidden for univar"""
370370
dissolved_vector = "test_no_method_univar_fails"
371371

372372
aggregate_columns = dataset.float_column_name

scripts/v.dissolve/v_dissolve.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"cell_type": "markdown",
6262
"metadata": {},
6363
"source": [
64-
" We dissolve boudaries between ZIP codes which have the same town name which is in the NAME attribute."
64+
" We dissolve boundaries between ZIP codes which have the same town name which is in the NAME attribute."
6565
]
6666
},
6767
{
@@ -83,7 +83,7 @@
8383
"cell_type": "markdown",
8484
"metadata": {},
8585
"source": [
86-
"Color boudaries according to the primary key column called cat and display."
86+
"Color boundaries according to the primary key column called cat and display."
8787
]
8888
},
8989
{

scripts/v.to.lines/v.to.lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def main():
187187
"g.remove", flags="f", type="vector", name=remove_names, quiet=quiet
188188
)
189189
gs.fatal(_("Error removing table from layer 1"))
190-
# TODO: when this except is happaning, it seems that never, so it seems wrong
190+
# TODO: when this except is happening, it seems that never, so it seems wrong
191191
except Exception:
192192
gs.warning(_("No table for layer %d") % 1)
193193
try:

0 commit comments

Comments
 (0)