[GRASS-git] [OSGeo/grass] 4be87a: style: Fix pylint try-except-raise (W0706) (#3997)

Edouard Choinière noreply at github.com
Mon Jul 8 18:41:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 4be87a11c8b23d0abce992b9c85afa3d387922e1
      https://github.com/OSGeo/grass/commit/4be87a11c8b23d0abce992b9c85afa3d387922e1
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M gui/wxpython/core/utils.py
    M pyproject.toml
    M python/grass/imaging/images2swf.py
    M python/grass/temporal/c_libraries_interface.py
    M python/grass/temporal/datetime_math.py

  Log Message:
  -----------
  style: Fix pylint try-except-raise (W0706) (#3997)

* python(grass.temporal): Fix pylint try-except-raise (W0706)

Do not catch exception only to raise it again

* gui/wxpython/core/utils: Fix pylint try-except-raise (W0706)

* python: Fix pylint try-except-raise (W0706)

* style: Enable ruff useless-try-except (TRY302) as fixed



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