[GRASS-git] [OSGeo/grass] 02861c: gui: Use context manager for opening files and tem...
Edouard Choinière
noreply at github.com
Wed Jan 29 20:06:00 PST 2025
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 02861c20ab25b805fe19fc576ce247cdbb95934b
https://github.com/OSGeo/grass/commit/02861c20ab25b805fe19fc576ce247cdbb95934b
Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
Date: 2025-01-29 (Wed, 29 Jan 2025)
Changed paths:
M gui/wxpython/animation/temporal_manager.py
M gui/wxpython/core/render.py
M gui/wxpython/core/toolboxes.py
M gui/wxpython/dbmgr/base.py
M gui/wxpython/gcp/manager.py
M gui/wxpython/gmodeler/model.py
M gui/wxpython/gmodeler/panels.py
M gui/wxpython/gui_core/ghelp.py
M gui/wxpython/gui_core/gselect.py
M gui/wxpython/gui_core/widgets.py
M gui/wxpython/image2target/ii2t_gis_set.py
M gui/wxpython/image2target/ii2t_manager.py
M gui/wxpython/lmgr/workspace.py
M gui/wxpython/location_wizard/wizard.py
M gui/wxpython/mapdisp/main.py
M gui/wxpython/modules/colorrules.py
M gui/wxpython/modules/mcalc_builder.py
M gui/wxpython/photo2image/ip2i_manager.py
M gui/wxpython/psmap/frame.py
M gui/wxpython/rdigit/controller.py
M gui/wxpython/rlisetup/frame.py
M gui/wxpython/rlisetup/sampling_frame.py
M gui/wxpython/rlisetup/wizard.py
M gui/wxpython/tools/update_menudata.py
M gui/wxpython/vdigit/mapwindow.py
M gui/wxpython/vnet/vnet_core.py
M gui/wxpython/vnet/vnet_data.py
M gui/wxpython/vnet/widgets.py
M pyproject.toml
Log Message:
-----------
gui: Use context manager for opening files and temporary files (#4917)
* gui: Use context manager for opening files and temporary files
* gui: Use context manager for opening files and temporary files
* style: Fix RET504 [*] Unnecessary assignment to `img` before `return` statement
* style: Fix new write-whole-file (FURB103) errors
* style: Fix new read-whole-file (FURB101) errors
* checks: Remove fixed Ruff SIM115 exclusions
* Use subprocess.DEVNULL to let Popen handle os.devnull
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list