From b3fa8ee76c917897d6fe90e2318185776b518cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Fri, 10 Jul 2026 08:42:43 -0400 Subject: [PATCH 01/23] Apply suggested fix to gui/wxpython/gmodeler/panels.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 4def479dd50574394bd8c656f985e9e06880981f) (cherry picked from commit 42493a85d6286d60e12f7279cff915b8b1594c5d) --- gui/wxpython/gmodeler/panels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/wxpython/gmodeler/panels.py b/gui/wxpython/gmodeler/panels.py index 23415c882da..1df05cb312c 100644 --- a/gui/wxpython/gmodeler/panels.py +++ b/gui/wxpython/gmodeler/panels.py @@ -163,7 +163,7 @@ def __init__( lambda message: self.SetStatusText(message) ) - # here events are binded twice + # here events are bound twice self._gconsole.Bind( EVT_CMD_RUN, lambda event: self._switchPageHandler( From ce2fd027e0efc44dad2273e9cd2faccf7052f160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 19 Jul 2026 10:50:44 +0200 Subject: [PATCH 02/23] Apply suggested fix to python/grass/gunittest/reporters.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 306f46481ccd2cc6d53b56049cc5e72b4da3b230) (cherry picked from commit 98b7c90431bf30dd069500a9965b136fd496922d) --- python/grass/gunittest/reporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/grass/gunittest/reporters.py b/python/grass/gunittest/reporters.py index 22ae38947c5..efac4cac7ba 100644 --- a/python/grass/gunittest/reporters.py +++ b/python/grass/gunittest/reporters.py @@ -306,7 +306,7 @@ def get_html_test_authors_table(directory, tests_authors) -> str: "" "" "" - "" + "" "
Test authors:{file_authors}
Authors of tested code:{code_authors}
Authors owing tests:{not_testing}
Authors owning tests:{not_testing}
".format( file_authors=", ".join(sorted(tests_authors)), code_authors=", ".join(sorted(tested_dir_authors)), From c459cd0e3154670e4c5b1362c75620e3edf6433f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Tue, 14 Jul 2026 22:15:23 +0200 Subject: [PATCH 03/23] Apply suggested fix to python/grass/pygrass/vector/table.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit ea11335f2f1656f2ddc71007ed21007a86cc2813) (cherry picked from commit 429e4425c67f7f303a51c1a27fdbc381df478caa) --- python/grass/pygrass/vector/table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/grass/pygrass/vector/table.py b/python/grass/pygrass/vector/table.py index 1dae4ffcab5..ea54af90841 100644 --- a/python/grass/pygrass/vector/table.py +++ b/python/grass/pygrass/vector/table.py @@ -399,7 +399,7 @@ def add(self, col_name, col_type): :param col_name: the name of column to add :type col_name: str - :param col_type: the tipe of column to add + :param col_type: the type of column to add :type col_type: str >>> import sqlite3 From 3481bb6052d7a50d7e4ca2ed3f4cd132d1b4c15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Thu, 16 Jul 2026 08:34:36 +0200 Subject: [PATCH 04/23] Apply suggested fix to python/grass/temporal/gui_support.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 4332d0ffdf9e24c936475f031e59ab60bfe78705) (cherry picked from commit 44883102ea28e5dbc99c41912e776af1dfc5bbbe) --- python/grass/temporal/gui_support.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/grass/temporal/gui_support.py b/python/grass/temporal/gui_support.py index 709ec7fe77d..13906882223 100644 --- a/python/grass/temporal/gui_support.py +++ b/python/grass/temporal/gui_support.py @@ -34,7 +34,9 @@ def tlist_grouped(type, group_type: bool = False, dbif=None): ['precipitation', 'temperature'] :param type: element type (strds, str3ds, stvds) - :param group_type: TBD + :param group_type: If True, group results by dataset type within each + mapset (dict of dicts); otherwise return a flat list of dataset names + per mapset (dict of lists). :return: directory of mapsets/elements """ From b1b139191e7a9d0e94326e2ebb533d3365c9deab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 19 Jul 2026 10:51:10 +0200 Subject: [PATCH 05/23] Apply suggested fix to python/grass/temporal/stds_import.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 77b60a6523a4b60288afa01debce12a67271bb42) (cherry picked from commit f6e096c40b825c1d830830898cc4ffb26254231a) --- python/grass/temporal/stds_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/grass/temporal/stds_import.py b/python/grass/temporal/stds_import.py index dbc918e44bd..1bcb830b1a7 100644 --- a/python/grass/temporal/stds_import.py +++ b/python/grass/temporal/stds_import.py @@ -10,7 +10,7 @@ output = "temp_1950_2012" directory = "/tmp" title = "My new dataset" - descr = "May new shiny dataset" + descr = "My new shiny dataset" location = None link = True exp = True From 0c404f89227cece5ae4a2ed84ca6db8c479984ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Fri, 17 Jul 2026 11:20:44 +0200 Subject: [PATCH 06/23] Apply suggested fix to raster/r.param.scale/close_down.c from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit e9530212b0a5022de7a1d0d858075c2f4c72fe6b) (cherry picked from commit b5dd46a83c53874c8df119d224de70561c034c31) --- raster/r.param.scale/close_down.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raster/r.param.scale/close_down.c b/raster/r.param.scale/close_down.c index 4f3a44e105e..e020bca38cc 100644 --- a/raster/r.param.scale/close_down.c +++ b/raster/r.param.scale/close_down.c @@ -76,7 +76,7 @@ void close_down(void) strcpy(map_type, "Longitudinal curvature"); Rast_append_history(&history, "Longitudinal curvature is the profile " "curvature intersecting with the"); - Rast_append_history(&history, "plane defined by the surfacenormal and " + Rast_append_history(&history, "plane defined by the surface normal and " "maximum gradient direction."); break; From c4ba55f73b9124c1213649118880b84b7dda3f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Fri, 17 Jul 2026 11:21:06 +0200 Subject: [PATCH 07/23] Apply suggested fix to raster/r.param.scale/interface.c from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 227f136f53ec43a387f88bb487bccc9a4db3733b) (cherry picked from commit 4809dda6577e51f068ef86b5805d24649f297007) --- raster/r.param.scale/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raster/r.param.scale/interface.c b/raster/r.param.scale/interface.c index 1867cbcc245..e8c37eca453 100644 --- a/raster/r.param.scale/interface.c +++ b/raster/r.param.scale/interface.c @@ -138,7 +138,7 @@ void interface(int argc, char **argv) nprocs = G_set_omp_num_threads(nprocs_opt); nprocs = Rast_disable_omp_on_mask(nprocs); if (nprocs < 1) - G_fatal_error(_("<%d> is not valid number of nprocs."), nprocs); + G_fatal_error(_("<%d> is not a valid number of threads."), nprocs); memory = atoi(mem_opt->answer); constrained = constr->answer; sscanf(expon->answer, "%lf", &exponent); From bbf1f0b83f9101f96a6b1938699f25b3d4f3914a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 07:07:09 +0200 Subject: [PATCH 08/23] Update typo raster/r.sunmask/solpos00.c (cherry picked from commit ee078c5d65ff4027247009baff16c5df0c998e5f) (cherry picked from commit 3bc545d49e3dbb83e2e53894fafc0ffcddcda36c) --- raster/r.sunmask/solpos00.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raster/r.sunmask/solpos00.c b/raster/r.sunmask/solpos00.c index 588a967e19b..ccdaa5e87c4 100644 --- a/raster/r.sunmask/solpos00.c +++ b/raster/r.sunmask/solpos00.c @@ -432,7 +432,7 @@ static void geometry(struct posdata *pdat) { float bottom; /* denominator (bottom) of the fraction */ float c2; /* cosine of d2 */ - float cd; /* cosine of the day angle or delination */ + float cd; /* cosine of the day angle or declination */ float d2; /* pdat->dayang times two */ float delta; /* difference between current year and 1949 */ float s2; /* sine of d2 */ From cebb71313859ed41cec93ad749714ae772dd5e2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Tue, 14 Jul 2026 22:11:03 +0200 Subject: [PATCH 09/23] Apply suggested fix to scripts/r.reclass.area/r.reclass.area.html from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 9171b7e2f132692df866e4558757edf4db892e72) (cherry picked from commit cf9e33e0fdcdaa8d3e95da36142e11e8a7e6a664) --- scripts/r.reclass.area/r.reclass.area.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/r.reclass.area/r.reclass.area.html b/scripts/r.reclass.area/r.reclass.area.html index 213b9d523b8..3ba3857d2a1 100644 --- a/scripts/r.reclass.area/r.reclass.area.html +++ b/scripts/r.reclass.area/r.reclass.area.html @@ -77,9 +77,9 @@

SEE ALSO

r.clump, r.reclass, r.stats, -r.stats, -r.stats, -r.stats +v.to.rast, +v.clean, +v.edit

AUTHORS

From 0e6510795e500cfcad910c8f80d7fc0b8445e260 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 06:53:21 +0200 Subject: [PATCH 10/23] Apply suggested fix to scripts/r.reclass.area/r.reclass.area.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit ad58eb71da52e59dc88ed52213b5cc0ef4456e13) (cherry picked from commit 93b5e41427855ffca47781482acea4efe2a1acdb) --- scripts/r.reclass.area/r.reclass.area.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/r.reclass.area/r.reclass.area.md b/scripts/r.reclass.area/r.reclass.area.md index 612f5af0ec0..202f238aa37 100644 --- a/scripts/r.reclass.area/r.reclass.area.md +++ b/scripts/r.reclass.area/r.reclass.area.md @@ -41,7 +41,7 @@ r.report zipcodes unit=h Extract only areas greater than 2000 ha, NULL otherwise: ```sh -r.reclass.area input=zipcodes output=zipcodes_larger2000ha greater=2000 +r.reclass.area input=zipcodes output=zipcodes_larger2000ha lower=2000 r.report zipcodes_larger2000ha unit=h ``` From 3aecfd01a2bdeb3ba4a346c88c43c97923929d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Tue, 14 Jul 2026 22:10:15 +0200 Subject: [PATCH 11/23] Apply suggested fix to scripts/r.reclass.area/testsuite/test_r_reclass_area.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 758f0fb78d0f1ed46e595285ec17d0cb0a96ebb3) (cherry picked from commit c9a83bf3164abaf90794ba61849fd829a3b0f31c) --- scripts/r.reclass.area/testsuite/test_r_reclass_area.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/r.reclass.area/testsuite/test_r_reclass_area.py b/scripts/r.reclass.area/testsuite/test_r_reclass_area.py index c3a13c34d6c..1ab6485b7a4 100644 --- a/scripts/r.reclass.area/testsuite/test_r_reclass_area.py +++ b/scripts/r.reclass.area/testsuite/test_r_reclass_area.py @@ -221,7 +221,7 @@ def test_rmarea_lower_upper_vector_basins(self) -> None: self.assertVectorFitsTopoInfo( vector=output_map, reference={"areas": 14, "primitives": 82}, - msg=f"Toplogy of output map {output_map} does not match reference.", + msg=f"Topology of output map {output_map} does not match reference.", ) From 776cdf6e949036124efe113c1a26ea3c42f251af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sat, 5 Sep 2026 04:58:39 -0400 Subject: [PATCH 12/23] Update raster/r.param.scale/interface.c --- raster/r.param.scale/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raster/r.param.scale/interface.c b/raster/r.param.scale/interface.c index e8c37eca453..52076a97194 100644 --- a/raster/r.param.scale/interface.c +++ b/raster/r.param.scale/interface.c @@ -138,7 +138,7 @@ void interface(int argc, char **argv) nprocs = G_set_omp_num_threads(nprocs_opt); nprocs = Rast_disable_omp_on_mask(nprocs); if (nprocs < 1) - G_fatal_error(_("<%d> is not a valid number of threads."), nprocs); + G_fatal_error(_("<%d> is not a valid number of nprocs."), nprocs); memory = atoi(mem_opt->answer); constrained = constr->answer; sscanf(expon->answer, "%lf", &exponent); From 895220bb5be092c4b5f35388309ae215f0568e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sat, 5 Sep 2026 07:23:04 -0400 Subject: [PATCH 13/23] Update python/grass/gunittest/reporters.py --- python/grass/gunittest/reporters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/grass/gunittest/reporters.py b/python/grass/gunittest/reporters.py index efac4cac7ba..22ae38947c5 100644 --- a/python/grass/gunittest/reporters.py +++ b/python/grass/gunittest/reporters.py @@ -306,7 +306,7 @@ def get_html_test_authors_table(directory, tests_authors) -> str: "" "" "" - "" + "" "
Test authors:{file_authors}
Authors of tested code:{code_authors}
Authors owning tests:{not_testing}
Authors owing tests:{not_testing}
".format( file_authors=", ".join(sorted(tests_authors)), code_authors=", ".join(sorted(tested_dir_authors)), From dc75fe54c56b58f193b6fdfbe9d268c50d3c454c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:17:12 +0200 Subject: [PATCH 14/23] Apply suggested fix to doc/development/style_guide.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit a76bb61f24e5d05702a9a3989796b86bd54cf92a) --- doc/development/style_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/style_guide.md b/doc/development/style_guide.md index c00fd1c8410..bb40908576b 100644 --- a/doc/development/style_guide.md +++ b/doc/development/style_guide.md @@ -926,7 +926,7 @@ d. - display tools db. - database tools g. - general GIS management tools i. - imagery tools -m. - miscellaneous tool tools +m. - miscellaneous tools ps. - postscript tools r. - raster tools r3. - raster3D tools From 352dcef3ee22d9415ae536bb4ddb7eaedc0c52af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:17:12 +0200 Subject: [PATCH 15/23] Apply suggested fix to doc/development/style_guide.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 0157dc0442d2fe0d15d9993f760f21d3d38bc53a) --- doc/development/style_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/style_guide.md b/doc/development/style_guide.md index bb40908576b..98aa7abc5da 100644 --- a/doc/development/style_guide.md +++ b/doc/development/style_guide.md @@ -759,7 +759,7 @@ gs.fatal(_("No map found, exiting.")) # debug output (users can use g.gisenv to enable/disable) # debug level is 1 to 5 (5 is most detailed) # debug message should not be translated -gs.debug(f"Our calculated value is: {value}."), 3) +gs.debug(f"Our calculated value is: {value}.", 3) ``` Do not use the `print` function for informational output. This is reserved for From 6e5e0443b8c1ef5c1e4612c306459198a8e3854e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:17:13 +0200 Subject: [PATCH 16/23] Apply suggested fix to doc/development/style_guide.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 150a957f91f638895b4e1d9647e1f5c6b243e17b) --- doc/development/style_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/style_guide.md b/doc/development/style_guide.md index 98aa7abc5da..d790d758cb6 100644 --- a/doc/development/style_guide.md +++ b/doc/development/style_guide.md @@ -337,7 +337,7 @@ Examples: - `v_clean_rmsa.png` **Image size:** ideally **600 pixel width** (height depends on that), use e.g. -ImageMagic: +ImageMagick: ```bash mogrify -resize 600x file.png From 0162e6c54071dad0c92434e8e1475228c071e57e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 20:17:14 +0200 Subject: [PATCH 17/23] Apply suggested fix to doc/development/style_guide.md from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 28e85c59edbfb0987a50ac58b5c960e72e53f80e) --- doc/development/style_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/development/style_guide.md b/doc/development/style_guide.md index d790d758cb6..a94c872c42d 100644 --- a/doc/development/style_guide.md +++ b/doc/development/style_guide.md @@ -276,7 +276,7 @@ The structure consists of several required and optional sections: ``` Sections _Notes_, _Examples_, _References_, and _Authors_ can be also in -singular form (e.g, _Note_). +singular form (e.g., _Note_). Note that Markdown is converted to html using [MkDocs](https://www.mkdocs.org/). See also [supported Markdown elements by MkDocs](https://www.markdownguide.org/tools/mkdocs/) From 21ed294d8d6885fe43bd3ebf94fd25b752814be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 07:15:02 +0200 Subject: [PATCH 18/23] Apply suggested fix to lib/raster/put_row.c from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit d5ca0bdc4627864fc644b604828541e9e64e3c05) --- lib/raster/put_row.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/raster/put_row.c b/lib/raster/put_row.c index 578b4a275e3..8a7bb4307c5 100644 --- a/lib/raster/put_row.c +++ b/lib/raster/put_row.c @@ -50,7 +50,7 @@ static void put_raster_row(int, const void *, RASTER_MAP_TYPE, int); updating the range file upon close of the cell file. HOWEVER when nulls are not embedded, the cells are considered 0's as far as updating range is concerned, even if the corresponding cell is null - in the resulting null file, so programmer should be carefult to set + in the resulting null file, so programmer should be careful to set all the null values using Rast_set_null_value() or G_insert_d_null_values() or G_insert_f_null_values(). From e49f6afca279a1b188ca3d107f3e317866f21a95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 16:16:19 +0200 Subject: [PATCH 19/23] Apply suggested fix to raster/r.viewshed/grass.cpp from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 629c9e91727a9617d8211889e42bb0e02c255fe4) --- raster/r.viewshed/grass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raster/r.viewshed/grass.cpp b/raster/r.viewshed/grass.cpp index 5aa0d005fea..1114b6c75e5 100644 --- a/raster/r.viewshed/grass.cpp +++ b/raster/r.viewshed/grass.cpp @@ -991,7 +991,7 @@ void save_io_vis_and_elev_to_GRASS(IOVisibilityGrid *visgrid, char *elevfname, } if (curResult->row == i && curResult->col == j) { - /*cell is recodred in the visibility stream: it must be + /*cell is recorded in the visibility stream: it must be either visible, or NODATA */ if (is_visible(curResult->angle)) writeValue(visrast, j, elev - vp_elev, elev_data_type); From 61f7267806ad3a74d99a57cc247e1a452420c6ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 16:16:20 +0200 Subject: [PATCH 20/23] Apply suggested fix to raster/r.viewshed/grass.cpp from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit 80f850ae3dc9a4a2c6d50b576c49cc9f6d39c0b9) --- raster/r.viewshed/grass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raster/r.viewshed/grass.cpp b/raster/r.viewshed/grass.cpp index 1114b6c75e5..7c6682d8f68 100644 --- a/raster/r.viewshed/grass.cpp +++ b/raster/r.viewshed/grass.cpp @@ -866,7 +866,7 @@ void save_io_visibilitygrid_to_GRASS(IOVisibilityGrid *visgrid, char *fname, for (j = 0; j < (dimensionType)ncols; j++) { if (curResult->row == i && curResult->col == j) { - /*cell is recodred in the visibility stream: it must be + /*cell is recorded in the visibility stream: it must be either visible, or NODATA */ if (is_visible(curResult->angle)) writeValue(visrast, j, fun(curResult->angle), type); From 699749fadcf66f623a4b32a58f47ada3ec556d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 16:16:21 +0200 Subject: [PATCH 21/23] Apply suggested fix to raster/r.viewshed/grass.cpp from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit f8945287c1a19cce788a85cd630150ffebb29dd1) --- raster/r.viewshed/grass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raster/r.viewshed/grass.cpp b/raster/r.viewshed/grass.cpp index 7c6682d8f68..34aeb361b61 100644 --- a/raster/r.viewshed/grass.cpp +++ b/raster/r.viewshed/grass.cpp @@ -92,7 +92,7 @@ GridHeader *read_header(char *rastName, Cell_head *region) nrows = Rast_window_rows(); ncols = Rast_window_cols(); - /*check for loss of prescion */ + /*check for loss of precision */ if (nrows <= maxDimension && ncols <= maxDimension) { hd->nrows = (dimensionType)nrows; hd->ncols = (dimensionType)ncols; From c65096edfb35cc341ca0af69dd3173ee788f5090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 23:08:51 +0200 Subject: [PATCH 22/23] Apply suggested fix to scripts/g.extension/g.extension.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit d9cb9aaaee1edd94a4ef2d2babc1ba1f5316b71a) --- scripts/g.extension/g.extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/g.extension/g.extension.py b/scripts/g.extension/g.extension.py index 5ab2232adb9..b109442bee9 100755 --- a/scripts/g.extension/g.extension.py +++ b/scripts/g.extension/g.extension.py @@ -295,7 +295,7 @@ def __check_permissions(self): """""" # Create working directory if it does not exist self.working_directory.mkdir(parents=True, exist_ok=True) - # Check pemissions in case he workdir existed + # Check permissions in case the workdir exists if not os.access(self.working_directory, os.W_OK): gs.fatal( _("Cannot write to working directory {}.").format( From c9a29eeb9fb1ba044c7c4b3790441697858ddcdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Wed, 15 Jul 2026 23:08:52 +0200 Subject: [PATCH 23/23] Apply suggested fix to scripts/g.extension/g.extension.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> (cherry picked from commit bad42ae505058618409a95641e00d28ed05d566c) --- scripts/g.extension/g.extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/g.extension/g.extension.py b/scripts/g.extension/g.extension.py index b109442bee9..8d644151255 100755 --- a/scripts/g.extension/g.extension.py +++ b/scripts/g.extension/g.extension.py @@ -289,7 +289,7 @@ def _is_git_installed(self): try: gs.call([self._git], stdout=PIPE) except OSError: - gs.fatal(_("Could not found Git. Please install it.")) + gs.fatal(_("Could not find Git. Please install it.")) def __check_permissions(self): """"""