Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
43daba2
parent 464ffca1e1fbb98107593ee60c43a8449e567eed
rkanavath Jun 11, 2017
f9c5cf0
revert C related INFINITY/NAN changes (this is taken care of in #2681)
neteler Dec 5, 2022
f9b1ba7
Sync to PR Cmake build2 #348 (replaces #348)
neteler Dec 5, 2022
4889de7
CI fix for pylint in gui/wxpython called with wildcard
neteler Dec 5, 2022
9eed8bc
cmake/find_scripts/FindPROJ.cmake: update to PROJ > 4
neteler Dec 5, 2022
67cdeee
cmake/find_scripts/FindPostgreSQL.cmake: update to https://github.com…
neteler Dec 5, 2022
faea30b
various path updates (sync to main)
neteler Dec 5, 2022
7f39bb3
grass7 -> grass8; msg cosmetics
neteler Dec 5, 2022
96862bd
CI: cmake compile script
neteler Dec 6, 2022
d9f674e
fix syntax
neteler Dec 10, 2022
49c5d5b
fix Build step
neteler Dec 10, 2022
b2669e5
Build step debugging
neteler Dec 11, 2022
18bf7f0
Simplify cmake command call
neteler Jan 2, 2023
f76f68f
Remove debugging leftover.
neteler Jan 2, 2023
ba6c07d
make -> cmake
neteler Jan 2, 2023
76576db
update year
neteler Jan 2, 2023
2be2b75
python_bandref -> python_semantic_label
neteler Jan 2, 2023
e8126e7
remove outdated bandref
neteler Jan 2, 2023
52123fe
bandref -> semantic_label
neteler Jan 2, 2023
91461d5
added python/CMakeLists.txt (from https://github.com/OSGeo/grass/pull…
neteler Jan 2, 2023
87ef0aa
add_subdirectory(python)
neteler Jan 2, 2023
aecd006
fix path to grass/script/setup.py
neteler Jan 2, 2023
4b23a6c
remove files deleted in PR #1400
neteler Jan 2, 2023
0a43a1c
Fix missing EOL
neteler Jan 2, 2023
e5becb7
just peek in the folder (by @echoix)
neteler Jan 3, 2023
fd5500d
sync clang-format changes from main
neteler Jan 4, 2023
9565839
apply clang-format
nilason Jan 4, 2023
0afe71f
cmake_minimum_required version 3.11
neteler Jan 4, 2023
617f58d
update to CMake 3.11.4
neteler Jan 4, 2023
a9c23d7
add VERBATIM
neteler Jan 4, 2023
3f1f5a1
pylint: ignore cmakelists.txt
nilason Jan 5, 2023
6301f3e
homogenize ubuntu image name
neteler Jan 4, 2023
d88134e
use of INFINITY and NAN
lbartoletti Jun 5, 2023
8c06b79
Simplify and use PROJ_H_
lbartoletti Jun 3, 2023
6b54a06
CMakeLists.txt: add include_irectories to grass
lbartoletti Jun 3, 2023
1852e08
raster/CMakeLists.txt: fix GDAL_VERSION
lbartoletti Jun 3, 2023
dccaac0
add aprintf.c
lbartoletti Jun 4, 2023
c02053f
v.neighbors requires grass_stats
lbartoletti Jun 4, 2023
b222913
ctypesgen.py: main module is not ctypesgen.py but run.py. fix it.
lbartoletti Jun 4, 2023
062b852
lib/rst: fix build. Remove DEFS POINT2D_C
lbartoletti Jun 5, 2023
075e42e
python: copy grassdb
lbartoletti Jun 5, 2023
555cdb2
propose ccache to speedup build
lbartoletti Jun 5, 2023
754872d
mkhtml.py depends on a sibling python script
aaronsms Jun 5, 2023
9ef6a2b
make libraster libvector link with lapack when it is available
aaronsms Jun 5, 2023
161f1f9
add the 3 missing raster modules
aaronsms Jun 5, 2023
ce13ea1
display: add d.rgb, d.rhumbline, d.text, d.title, d.vect.*
lbartoletti Jun 5, 2023
1541875
raster: enable r3.mapcalc
lbartoletti Jun 5, 2023
2af6d2e
raster: enable r.object.geometry
lbartoletti Jun 6, 2023
1c2b3dd
ps: enable ps.map
lbartoletti Jun 6, 2023
028a323
python/grass: add utils (will be used by g.download.location scripts)
lbartoletti Jun 6, 2023
1edfee8
scripts: add d.background, g.download.location, i.band.library, r.sem…
lbartoletti Jun 6, 2023
6a12d3a
temporal: add t.copy and t.upgrade
lbartoletti Jun 6, 2023
0f90e77
add an optional cmake to use alternate linker
lbartoletti Jun 6, 2023
ce74248
gui/wxpython: copy main_window dir
lbartoletti Jun 6, 2023
31b53b5
init: copy lock, echo, run, clean_temp and winlocale
lbartoletti Jun 6, 2023
a357bc7
minor fixes just to move forward
nilason Aug 14, 2023
aec2b7e
apply cmake-format
nilason Aug 14, 2023
453739a
Very WIP commit, various changes
nilason Mar 3, 2024
91515e0
Define global PYTHON_EXECUTABLE
HuidaeCho Apr 18, 2024
c5de062
Shared library versioning and symlinks
HuidaeCho Apr 18, 2024
c6f17af
Rename grass.sh to grass and set 755 permissions
HuidaeCho Apr 18, 2024
df254d1
Rename project to GRASS
HuidaeCho Apr 18, 2024
c50fe07
Define PYTHON_EXECUTABLE from CheckDependentLibraries.cmake
HuidaeCho Apr 18, 2024
2904d24
Add dependency properties
HuidaeCho Apr 18, 2024
af2fe5c
libjpeg not required anymore?
HuidaeCho Apr 18, 2024
999c71e
cmake-format
HuidaeCho Apr 19, 2024
1527625
Honor WITH_LIBLAS
HuidaeCho Apr 19, 2024
4d5e2b9
Indentation
HuidaeCho Apr 19, 2024
009d06e
Fix Python_EXECUTABLE to PYTHON_EXECUTABLE
HuidaeCho Apr 19, 2024
e98b60b
Do not overwrite BINARY_DIR cmake property
HuidaeCho Apr 19, 2024
12c5192
Move directory settings
HuidaeCho Apr 19, 2024
d27a929
Build directly into GISBASE
HuidaeCho Apr 20, 2024
306e24e
Rename tools directory to utils to be consistent
HuidaeCho Apr 20, 2024
e8fc34c
No need to copy G_NAME to itself now
HuidaeCho Apr 20, 2024
b63b210
Rename G_SRCDIR to G_SRC_DIR for consistency; Do not create tmp.html …
HuidaeCho Apr 20, 2024
e05bfb3
Do not touch empty files; Do not run html-description if G_RUNTIME_OU…
HuidaeCho Apr 20, 2024
3720a85
Don't chdir unnecessarily
HuidaeCho Apr 20, 2024
c870bbf
Set GRASS_HEADERS_(VERSION|DATE) for g.version
HuidaeCho Apr 20, 2024
f8a71d7
Remove JPEG
HuidaeCho Apr 20, 2024
2056b40
Add MySQL support
HuidaeCho Apr 20, 2024
f61e9b4
Support MySQL
HuidaeCho Apr 20, 2024
906ecfb
Move mysql_SRCS to top
HuidaeCho Apr 20, 2024
3e0f6b4
Mixed-case PostgreSQL_* variables
HuidaeCho Apr 20, 2024
322436c
Mixed-case MySQL_* variables
HuidaeCho Apr 20, 2024
60e0737
Mixed-case LibLAS_FOUND
HuidaeCho Apr 20, 2024
ee619ad
Use original mixed-case *_FOUND
HuidaeCho Apr 20, 2024
bf3abef
Support readline
HuidaeCho Apr 20, 2024
9a24f75
Consistent help messages
HuidaeCho Apr 20, 2024
57eceb1
Require WITH-libraries
HuidaeCho Apr 20, 2024
4a040d7
Support zstd
HuidaeCho Apr 21, 2024
e61ca6f
Support regex
HuidaeCho Apr 21, 2024
38fc983
Support OpenMP
HuidaeCho Apr 21, 2024
277ba5d
cmake-format
HuidaeCho Apr 21, 2024
ee3ef6f
Add -fopenmp only if OpenMP is requested and found
HuidaeCho Apr 21, 2024
d46d202
Reorder options by group; Clean up dependencies for libraries and mod…
HuidaeCho Apr 21, 2024
23fbabb
Merge branch 'main' into cmake_build_work
HuidaeCho Apr 21, 2024
9d5a1bf
Add missing dependencies to lidar
HuidaeCho Apr 21, 2024
cf06b01
Update lib/external/ccmath/ccmath.h
HuidaeCho Apr 21, 2024
ff0d592
Update lib/external/ccmath/ccmath.h
HuidaeCho Apr 21, 2024
fe3ba55
Update lib/gis/user_config.c
HuidaeCho Apr 21, 2024
0bd4720
Update raster/r.terraflow/filldepr.cpp
HuidaeCho Apr 21, 2024
46ebe25
Update raster/r.terraflow/main.cpp
HuidaeCho Apr 21, 2024
6d6f38c
Compile parson
HuidaeCho Apr 21, 2024
e1bac2a
Add parson dependency
HuidaeCho Apr 21, 2024
1d6e1dd
Remove duplicate regex check
HuidaeCho Apr 21, 2024
afe6fba
Add GUI history
HuidaeCho Apr 21, 2024
1639f8c
Copy install to GISBASE; Fix ctypesgen
HuidaeCho Apr 21, 2024
23621b5
Copy include to GISBASE
HuidaeCho Apr 21, 2024
6c1b216
Copy render_cmd.py to GISBASE/etc/d.mon
HuidaeCho Apr 21, 2024
4ad7eb2
Extend copy_python_files_in_subdir to copy on build event
HuidaeCho Apr 21, 2024
bc460e6
Copy lib/symbol/symbol to GISBASE/etc/symbol
HuidaeCho Apr 21, 2024
023fb24
Copy symbol images to GISBASE/gui/images/symbols
HuidaeCho Apr 21, 2024
cc7fb73
Copy fonts and create fontcap
HuidaeCho Apr 22, 2024
9606c20
Resolve a dependency loop
HuidaeCho Apr 22, 2024
ded2773
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
63c048c
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
a1f54d3
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
7c072f8
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
76f6bbf
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
7534f7d
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
3fcc02a
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
9d4d22c
Define (read|write)_png only if HAVE_PNG_H
HuidaeCho Apr 22, 2024
e5732bc
Add postgres versions 14-16
HuidaeCho Apr 22, 2024
4c61830
Add Findzstd.cmake
HuidaeCho Apr 22, 2024
f084cc0
Add grass_gis dependency to symbol (G_malloc)
HuidaeCho Apr 22, 2024
ebfc26e
Address an issue with excluding PNG files
HuidaeCho Apr 22, 2024
3dceff3
Revert pngdriver.h; if we need it, should be done in a new PR
HuidaeCho Apr 22, 2024
c364893
Require CMake 3.16.0; format to yamllint *manually* (do we have a for…
HuidaeCho Apr 22, 2024
3f47bbe
CHMOD (cmake 3.19) workaround for 3.16
HuidaeCho Apr 22, 2024
7193663
Use full path to /bin/chmod for security
HuidaeCho Apr 22, 2024
e2d1198
chmod 755 instead of chmod a+x
HuidaeCho Apr 22, 2024
f772e0f
Update .github/workflows/cmake.yml
HuidaeCho Apr 22, 2024
e0e3003
Update gui/images/CMakeLists.txt
HuidaeCho Apr 22, 2024
ce96fca
Use CMAKE_VERSION VERSION_* instead of comments for CHMOD
HuidaeCho Apr 22, 2024
6ce539d
Merge pull request #80 from HuidaeCho/cmake_build_work
echoix Apr 22, 2024
da4ccfb
Install ninja
echoix Apr 22, 2024
51d60ca
Install ninja-build from apt
echoix Apr 22, 2024
4852617
Disable installation of old cmake
echoix Apr 22, 2024
855af87
Specify Ninja as generator
echoix Apr 22, 2024
a5b8240
Update cmake.yml
echoix Apr 22, 2024
96aa1b4
Define (read|write)_png only #ifdef HAVE_PNG_H (#3647)
HuidaeCho Apr 22, 2024
b0eaced
gmath: Include only one header for FFTW (#3641)
HuidaeCho Apr 22, 2024
adfeb16
CI(deps): Update actions/upload-artifact action to v4.3.3 (#3646)
renovate[bot] Apr 22, 2024
8a90595
CI(deps): Update actions/download-artifact action to v4.1.6 (#3645)
renovate[bot] Apr 22, 2024
48038f7
CI(deps): Update actions/checkout digest to 1d96c77 (v4.1.3) (#3639)
renovate[bot] Apr 22, 2024
5eb31ff
Reset cmake.yml
echoix Apr 23, 2024
25159ec
Test changes for workflow triggers
echoix Apr 23, 2024
61a171e
CI(deps): Update github/codeql-action action to v3.25.2 (#3648)
renovate[bot] Apr 23, 2024
5661bad
libgis: Rename ap_copy to aq for G_aprintf (#3651)
HuidaeCho Apr 23, 2024
e354fa6
g.gui.tplot manual: specify size option units (#3643)
veroandreo Apr 23, 2024
0b248ef
g.mkfontcap: Replace -o with --overwrite; Add a renamed flag warning …
HuidaeCho Apr 23, 2024
f8115df
python: Update black to 24.4.0 (#3545)
echoix Apr 23, 2024
47536d0
temporal: update raster map metadata from file DB when overwrite is t…
ninsbl Apr 24, 2024
2c3e94c
CI(deps): Update debian:stable Docker digest to 84725fb (#3658)
renovate[bot] Apr 24, 2024
14d272a
Update bug report template (#3657)
veroandreo Apr 24, 2024
e358df7
doc: renaming location to project continued (#3627)
petrasovaa Apr 24, 2024
835afb4
contributing: Add security policy (#3544)
kpolchow Apr 24, 2024
31e6ade
CI(deps): Update actions/download-artifact action to v4.1.7 (#3664)
renovate[bot] Apr 25, 2024
f5862c7
CI(deps): Update peter-evans/create-pull-request action to v6.0.5 (#3…
renovate[bot] Apr 25, 2024
8cbe8fe
contributing: add code of conduct (#3663)
petrasovaa Apr 25, 2024
4ba6eae
v.vol.rst: Update parameter names in the example (#3073)
lbartoletti Apr 27, 2024
a02702a
init: renaming location to project for grass.py init script (#3670)
petrasovaa Apr 27, 2024
8a05d9f
grass.script: Remove copy-pasted code from tests (#3674)
wenzeslaus Apr 27, 2024
01a06ec
checks: Fix some yamllint and markdownlint errors (#3656)
nilason Apr 27, 2024
f13a492
wxGUI: adjust scrollbars when the item in layertree is checked (#3017)
lindakarlovska Apr 27, 2024
b2992f7
doc: another round of location to project renaming (#3665)
petrasovaa Apr 29, 2024
5cb708e
python: remove more six crumbs (#3675)
a-detiste Apr 29, 2024
4b1a757
pytest: Enhance logging output with colors and summary (#3629)
echoix Apr 29, 2024
7e63c52
docs: fix security.md linting errors (#3678)
nilason Apr 29, 2024
37a74d0
checks: add configuration files for yamllint and markdownlint (#3677)
nilason Apr 30, 2024
dd1a9b6
g.gui.example: fix broken module (#3233)
pesekon2 Apr 30, 2024
305f692
version: Replace references to 8.2 (#2969)
wenzeslaus May 1, 2024
405c507
CI(deps): Update actions/checkout action to v4.1.4 (#3667)
renovate[bot] May 1, 2024
0a33339
CI(deps): Update github/codeql-action action to v3.25.3 (#3671)
renovate[bot] May 2, 2024
24f49dc
config.guess + config.sub: updated from http://git.savannah.gnu.org/c…
github-actions[bot] May 2, 2024
943de90
wxGUI/nviz: fix showing scrollbars on the Data, Appearance, Analysis …
tmszi May 2, 2024
55b34ae
r.in.wms: fix get region extent for WMS query, if location is 'XY loc…
tmszi May 2, 2024
67f408f
wxGUI/preferences: allow the user save/load single-window mode panes …
tmszi May 2, 2024
761b3a0
CI(deps): Update ubuntu:22.04 Docker digest to a6d2b38 (#3669)
renovate[bot] May 2, 2024
9dc6fc6
CI: Use faster mold linker to reduce build time by ≈>30 sec (#3681)
echoix May 2, 2024
a351e5e
wxGUI/history: Add time period branching to history browser tree (#3622)
lindakarlovska May 2, 2024
763fa05
Checks: Fix Flake8 E501 (#3541)
mshukuno May 3, 2024
c783f5d
libvector/diglib: fix memory leaks (#3617)
nilason May 3, 2024
ca32ace
grass.script: Fix missing passing of env parameter (#3684)
wenzeslaus May 3, 2024
c4a5207
Merge branch 'main8' into cmake_build-echoix-huidae
echoix Sep 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
199 changes: 86 additions & 113 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ per-file-ignores =
# F841 local variable assigned to but never used
# E741 ambiguous variable name 'l'
__init__.py: F401, F403
lib/init/grass.py: E501, E722, F821, F841, W605
utils/mkrest.py: E501, W605
lib/init/grass.py: E722, F821, F841, W605
utils/mkrest.py: W605
utils/gitlog2changelog.py: E722, E712, W605
utils/g.html2man/ggroff.py: W605
man/build_check_rest.py: F403, F405
Expand All @@ -36,98 +36,87 @@ per-file-ignores =
man/build_keywords.py: F403, F405, E722
man/build_topics.py: F403, F405, E722
man/build_html.py: E501
man/build_rest.py: E501
imagery/i.atcorr/create_iwave.py: E501, F632, F821, W293
imagery/i.atcorr/create_iwave.py: F632, F821, W293
doc/python/raster_example_ctypes.py: F403, F405
doc/python/vector_example_ctypes.py: F403, F405
doc/python/m.distance.py: F403, F405, E501
doc/gui/wxpython/example/dialogs.py: F401
doc/gui/wxpython/example/g.gui.example.py: E501
locale/grass_po_stats.py: E122, E128, E231, E401, E501, E722, E741
gui/scripts/d.rast3d.py: E501
locale/grass_po_stats.py: E122, E128, E231, E401, E722, E741
gui/scripts/d.wms.py: E501
gui/wxpython/core/debug.py: E501
gui/wxpython/core/gcmd.py: E402, E501
gui/wxpython/core/giface.py: E501
gui/wxpython/core/gcmd.py: E402
gui/wxpython/core/gthread.py: F841
gui/wxpython/core/gconsole.py: E722, W605
gui/wxpython/core/globalvar.py: W605
gui/wxpython/core/toolboxes.py: E722, E501
gui/wxpython/core/toolboxes.py: E722
gui/wxpython/core/utils.py: E722, F841, W605
gui/wxpython/core/workspace.py: E722, E501
gui/wxpython/core/render.py: E722, F841, E501
gui/wxpython/core/ws.py: F841, E501
gui/wxpython/core/workspace.py: E722
gui/wxpython/core/render.py: E722, F841
gui/wxpython/core/ws.py: F841
gui/wxpython/core/settings.py: E722
gui/wxpython/core/watchdog.py: E402
gui/wxpython/datacatalog/tree.py: E731, E402, E501
gui/wxpython/dbmgr/base.py: E501, E722, F841
gui/wxpython/dbmgr/dialogs.py: E501, F841, E722
gui/wxpython/dbmgr/sqlbuilder.py: E501, E722, F841
gui/wxpython/dbmgr/manager.py: E501, E722
gui/wxpython/datacatalog/tree.py: E731, E402
gui/wxpython/dbmgr/base.py: E722, F841
gui/wxpython/dbmgr/dialogs.py: F841, E722
gui/wxpython/dbmgr/sqlbuilder.py: E722, F841
gui/wxpython/dbmgr/manager.py: E722
gui/wxpython/dbmgr/vinfo.py: F841
gui/wxpython/docs/wxgui_sphinx/conf.py: E402, E501
gui/wxpython/docs/wxgui_sphinx/conf.py: E402, W291
gui/wxpython/gcp/g.gui.gcp.py: F841
gui/wxpython/gcp/manager.py: E501, F841, E722
gui/wxpython/gcp/manager.py: F841, E722
gui/wxpython/gcp/mapdisplay.py: F841
gui/wxpython/gmodeler/*: E501
gui/wxpython/gui_core/*: F841, E266, E722, W605
gui/wxpython/gui_core/dialogs.py: E501, E722, F841, W605
gui/wxpython/gui_core/forms.py: E501, E722, F841
gui/wxpython/gui_core/ghelp.py: E501, E722
gui/wxpython/gui_core/gselect.py: E501, F841, E266, E722
gui/wxpython/gui_core/preferences.py: E501, E266, F841
gui/wxpython/gui_core/treeview.py: E501, F841
gui/wxpython/gui_core/widgets.py: E501, F841, E722, E266
gui/wxpython/image2target/*: F841, E722, E265, E501
gui/wxpython/iscatt/*: F841, E722, E741, F405, F403, E501
gui/wxpython/lmgr/giface.py: E501, E741
gui/wxpython/lmgr/frame.py: F841, E722, W605, E501
gui/wxpython/gui_core/dialogs.py: E722, F841, W605
gui/wxpython/gui_core/forms.py: E722, F841
gui/wxpython/gui_core/ghelp.py: E722
gui/wxpython/gui_core/gselect.py: F841, E266, E722
gui/wxpython/gui_core/preferences.py: E266, F841
gui/wxpython/gui_core/treeview.py: F841
gui/wxpython/gui_core/widgets.py: F841, E722, E266
gui/wxpython/image2target/*: F841, E722, E265
gui/wxpython/image2target/g.gui.image2target.py: E501, E265, F841
gui/wxpython/iscatt/*: F841, E722, E741, F405, F403
gui/wxpython/lmgr/giface.py: E741
gui/wxpython/lmgr/frame.py: F841, E722, W605
# layertree still includes some formatting issues (it is ignored by Black)
gui/wxpython/lmgr/layertree.py: E722, E266, W504, E225, E501
gui/wxpython/lmgr/layertree.py: E722, E266, W504, E225
gui/wxpython/lmgr/workspace.py: F841
gui/wxpython/modules/*: F841, E722, W605, E501
gui/wxpython/nviz/*: F841, E266, E722, W605, F403, F405, E501
gui/wxpython/photo2image/*: F841, E722, E265, E501
gui/wxpython/psmap/*: F841, E266, E722, F405, F403, E501
gui/wxpython/vdigit/*: F841, E722, E741, F405, F403, E501
gui/wxpython/vnet/*: F841, E501
gui/wxpython/modules/*: F841, E722, W605
gui/wxpython/nviz/*: F841, E266, E722, W605, F403, F405
gui/wxpython/photo2image/*: F841, E722, E265
gui/wxpython/photo2image/g.gui.photo2image.py: E501, F841
gui/wxpython/psmap/*: F841, E266, E722, F405, F403
gui/wxpython/vdigit/*: F841, E722, E741, F405, F403
gui/wxpython/vnet/*: F841
gui/wxpython/wxgui.py: F841
gui/wxpython/animation/g.gui.animation.py: E501
gui/wxpython/animation/mapwindow.py: F841
gui/wxpython/animation/provider.py: F841, E501
gui/wxpython/animation/temporal_manager.py: E501
gui/wxpython/tplot/frame.py: F841, E722
gui/wxpython/animation/provider.py: F841
gui/wxpython/tplot/frame.py: F841, E722, E741
gui/wxpython/tplot/g.gui.tplot.py: E501
gui/wxpython/rdigit/g.gui.rdigit.py: F841
gui/wxpython/rdigit/toolbars.py: E501
gui/wxpython/iclass/dialogs.py: E741, E501
gui/wxpython/iclass/dialogs.py: E741
gui/wxpython/iclass/digit.py: F405, F403
gui/wxpython/iclass/frame.py: F405, F403, E501
gui/wxpython/iclass/frame.py: F405, F403
gui/wxpython/iclass/g.gui.iclass.py: E501
gui/wxpython/iclass/statistics.py: F841, F405, F403
gui/wxpython/wxplot/dialogs.py: E501
gui/wxpython/wxplot/histogram.py: E722
gui/wxpython/wxplot/profile.py: F841, E722
gui/wxpython/wxplot/base.py: F841, E722
gui/wxpython/wxplot/scatter.py: E501
gui/wxpython/location_wizard/dialogs.py: F841, E501
gui/wxpython/location_wizard/dialogs.py: F841
gui/wxpython/location_wizard/wizard.py: E722
gui/wxpython/mapdisp/frame.py: E501
gui/wxpython/mapdisp/main.py: E722, E501
gui/wxpython/mapdisp/main.py: E722
gui/wxpython/mapdisp/test_mapdisp.py: E501
gui/wxpython/mapdisp/toolbars.py: E501
gui/wxpython/mapdisp/statusbar.py: F841, E501
gui/wxpython/mapdisp/statusbar.py: F841
gui/wxpython/mapswipe/g.gui.mapswipe.py: E501
gui/wxpython/mapwin/base.py: E722, E501
gui/wxpython/mapwin/buffered.py: E722, E501
gui/wxpython/mapwin/decorations.py: E501
gui/wxpython/mapwin/base.py: E722
gui/wxpython/mapwin/buffered.py: E722
gui/wxpython/mapwin/graphics.py: E722
gui/wxpython/startup/locdownload.py: E722, E402, E501
gui/wxpython/timeline/g.gui.timeline.py: E501
gui/wxpython/tools/build_modules_xml.py: E722, E501
gui/wxpython/startup/locdownload.py: E722, E402
gui/wxpython/timeline/g.gui.timeline.py: E501, E741
gui/wxpython/timeline/frame.py: E741
gui/wxpython/tools/build_modules_xml.py: E722
gui/wxpython/web_services/cap_interface.py: E501
gui/wxpython/web_services/dialogs.py: E501
gui/wxpython/web_services/widgets.py: F841, E741, W605, E402, E501
gui/wxpython/web_services/widgets.py: F841, E741, W605, E402
gui/wxpython/rlisetup/frame.py: E741
gui/wxpython/rlisetup/sampling_frame.py: F841
gui/wxpython/rlisetup/wizard.py: E722, E741
Expand All @@ -138,85 +127,69 @@ per-file-ignores =
python/grass/pydispatch/saferef.py: F821
# C wrappers call libgis.G_gisinit before importing other modules.
# TODO: Is this really needed?
python/grass/pygrass/vector/__init__.py: E402,
python/grass/pygrass/raster/__init__.py: E402,
python/grass/gunittest/*.py: E501 # These are mainly just todo comments
python/grass/gunittest/gmodules.py: E501, W605
python/grass/pygrass/vector/__init__.py: E402
python/grass/pygrass/raster/__init__.py: E402
python/grass/gunittest/gmodules.py: W605
python/grass/gunittest/invoker.py: E721
python/grass/pygrass/vector/geometry.py: W605
python/grass/pygrass/vector/table.py: E501
python/grass/pygrass/vector/__init__.py: E501, E402
python/grass/pygrass/modules/interface/*.py: E501, F401
python/grass/pygrass/modules/interface/module.py: E501, W605
python/grass/pygrass/modules/interface/parameter.py: E501, W605
python/grass/pygrass/modules/grid/*.py: E501, F401
python/grass/pygrass/raster/*.py: E501
python/grass/pygrass/vector/__init__.py: E402
python/grass/pygrass/modules/interface/*.py: F401
python/grass/pygrass/modules/interface/module.py: W605
python/grass/pygrass/modules/interface/parameter.py: W605
python/grass/pygrass/modules/grid/*.py: F401
python/grass/pygrass/raster/rowio.py: E741
python/grass/pygrass/rpc/__init__.py: E501, F401, F403
python/grass/pygrass/utils.py: E402, E501
python/grass/script/db.py: E501
python/grass/pygrass/raster/category.py: E721
python/grass/pygrass/rpc/__init__.py: F401, F403
python/grass/pygrass/utils.py: E402
python/grass/script/task.py: W605
python/grass/script/vector.py: E501 # Long doctest lines which need review anyway
python/grass/temporal/abstract_map_dataset.py: E501
python/grass/temporal/abstract_space_time_dataset.py: W605, E501, F841, E722
python/grass/temporal/aggregation.py: E501
python/grass/temporal/base.py: E501
python/grass/temporal/c_libraries_interface.py: E501, F841, E722
python/grass/temporal/core.py: E501, E722
python/grass/temporal/datetime_math.py: E501, F841, E722
python/grass/temporal/list_stds.py: E501
python/grass/temporal/metadata.py: E501
python/grass/temporal/abstract_space_time_dataset.py: W605, F841, E722
python/grass/temporal/c_libraries_interface.py: F841, E722
python/grass/temporal/core.py: E722
python/grass/temporal/datetime_math.py: F841, E722
python/grass/temporal/open_stds.py: F841
python/grass/temporal/register.py: E501
python/grass/temporal/space_time_datasets.py: E501
python/grass/temporal/spatial_extent.py: E501
python/grass/temporal/spatial_topology_dataset_connector.py: E501, E722
python/grass/temporal/spatio_temporal_relationships.py: E501
python/grass/temporal/temporal_algebra.py: E741, E501, F841, E722
python/grass/temporal/temporal_extent.py: E501
python/grass/temporal/temporal_granularity.py: E501, F841, E722
python/grass/temporal/temporal_operator.py: E501
python/grass/temporal/spatial_topology_dataset_connector.py: E722
python/grass/temporal/temporal_algebra.py: E741, F841, E722
python/grass/temporal/temporal_granularity.py: F841, E722
python/grass/temporal/temporal_raster_algebra.py: E741
python/grass/temporal/temporal_raster_base_algebra.py: E501, F841, E722
python/grass/temporal/temporal_raster_base_algebra.py: F841, E722
python/grass/temporal/temporal_raster3d_algebra.py: E741
python/grass/temporal/temporal_topology_dataset_connector.py: E501, E722
python/grass/temporal/temporal_vector_algebra.py: E741, E501, F841
python/grass/temporal/univar_statistics.py: E501
python/grass/temporal/temporal_topology_dataset_connector.py: E722
python/grass/temporal/temporal_vector_algebra.py: E741, F841
python/grass/temporal/univar_statistics.py: E231
# Current benchmarks/tests are changing sys.path before import.
# Possibly, a different approach should be taken there anyway.
python/grass/pygrass/tests/benchmark.py: E501, E402, F401, F821
python/grass/pygrass/tests/benchmark.py: E402, F401, F821
# Configuration file for Sphinx:
# Ignoring import/code mix and line length.
python/grass/docs/conf.py: E402, E501,
python/grass/docs/conf.py: E402
# Files not managed by Black
python/grass/imaging/images2gif.py: E226, E501
python/grass/imaging/images2gif.py: E226
# Unused imports in init files
# F401 imported but unused
# F403 star import used; unable to detect undefined names
python/grass/*/__init__.py: F401, F403
python/grass/*/*/__init__.py: F401, F403
python/grass/*/*/*/__init__.py: F401, F403
# E402 module level import not at top of file
scripts/d.polar/d.polar.py: F841, E501
scripts/r.in.wms/wms_gdal_drv.py: F841, E722, E501
scripts/r.in.wms/wms_cap_parsers.py: F841, E741, E501
scripts/r.in.wms/wms_drv.py: E402, E722, E501
scripts/r.in.wms/srs.py: E722, E501
scripts/d.polar/d.polar.py: F841
scripts/r.in.wms/wms_gdal_drv.py: F841, E722
scripts/r.in.wms/wms_cap_parsers.py: F841, E741
scripts/r.in.wms/wms_drv.py: E402, E722
scripts/r.in.wms/srs.py: E722
scripts/r.semantic.label/r.semantic.label.py: F841, E501
scripts/v.report/v.report.py: F841, E501
scripts/v.report/v.report.py: F841, E721
scripts/db.out.ogr/db.out.ogr.py: F841
scripts/g.extension/g.extension.py: F841, E722, E501
scripts/r.unpack/r.unpack.py: E501
scripts/v.unpack/v.unpack.py: F841, E722, E501
scripts/v.import/v.import.py: F841, E722, E501
scripts/db.univar/db.univar.py: E741, E501
scripts/d.rast.leg/d.rast.leg.py: E741
scripts/d.frame/d.frame.py: E722, E501
scripts/d.frame/d.frame.py: E722
scripts/i.pansharpen/i.pansharpen.py: E722, E501
scripts/r.in.srtm/r.in.srtm.py: E722, E501
scripts/r.fillnulls/r.fillnulls.py: E722, E501
scripts/d.rast.edit/d.rast.edit.py: E722, E501
scripts/r.in.srtm/r.in.srtm.py: E722
scripts/r.fillnulls/r.fillnulls.py: E722
scripts/d.rast.edit/d.rast.edit.py: E722
scripts/v.what.strds/v.what.strds.py: E722, E501
scripts/i.in.spotvgt/i.in.spotvgt.py: E501
# Line too long (esp. module interface definitions)
scripts/*/*.py: E501
# local variable 'column' is assigned to but never used
Expand Down
31 changes: 15 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,35 @@ assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.
## Describe the bug
<!-- A clear and concise description of what the bug is. -->

**To Reproduce**
Steps to reproduce the behavior:
## To reproduce
<!-- Describe the steps to reproduce the behavior, e.g.:

1. Go to '...'
2. Click on '...'
3. Compute '...'
4. See error
-->

**Expected behavior**
A clear and concise description of what you expected to happen.
## Expected behavior
<!-- If not obvious, describe what you expected to happen. -->

**Screenshots**
If applicable, add screenshots to help explain your problem.

**System description (please complete the following information):**
## Screenshots
<!-- If applicable, add screenshots to help explain your problem. -->

## System description
<!--
- Operating System: [e.g. Windows, Linux, ..., incl. version]
- GRASS GIS version [e.g. 7.8.4]

<!---
- GRASS GIS version: [e.g. 4.0]

- details about further software components
- run `g.version -rge` in a GRASS GIS terminal session or check in
the GUI menu "Help > About"
- run `python3 -c "import sys, wx; print(sys.version); print(wx.version())"`
to print the Python and wxPython version numbers
--->
-->

**Additional context**
Add any other context about the problem here.
## Additional context
<!-- Add any other context about the problem. -->
9 changes: 6 additions & 3 deletions .github/actions/create-upload-suggestions/action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "Create and upload suggestions"
description: "Creates a file containing changes applied by a tool"
author: echoix
Expand Down Expand Up @@ -176,7 +177,7 @@ runs:
echo "diff-file-name=${INPUT_DIFF_FILE_NAME}" >> "${GITHUB_OUTPUT}"
env:
INPUT_DIFF_FILE_NAME: ${{ steps.tool-name-safe.outputs.diff-file-name }}
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
id: upload-diff
if: >-
${{ (steps.files_changed.outputs.files_changed == 'true') &&
Expand All @@ -199,7 +200,7 @@ runs:
echo 'Suggestions can only be added near to lines changed in this PR.'
echo 'If any fixes can be added as code suggestions, they will be added shortly from another workflow.'
} >> "${GITHUB_STEP_SUMMARY}"
- uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
id: upload-changes
if: >-
${{ always() &&
Expand All @@ -217,7 +218,9 @@ runs:
run: |
{
echo ''
echo 'All fixed files are included in the '"${FORMATTED_URL}"' artifact. This artifact can be downloaded and copied to the repository to replace unformatted files with the formatted files.'
echo 'All fixed files are included in the '"${FORMATTED_URL}"' artifact. \
This artifact can be downloaded and copied to the repository to replace \
unformatted files with the formatted files.'
} >> "${GITHUB_STEP_SUMMARY}"
env:
FORMATTED_URL: >-
Expand Down
Loading
Loading