[GRASS-git] [OSGeo/grass] 04cc9e: checks: Replace bare except (Flake8 E722) in wxGUI...

Arohan Ajit noreply at github.com
Mon Sep 23 18:41:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 04cc9ead399a85475b5390741645a7e56b39f7a8
      https://github.com/OSGeo/grass/commit/04cc9ead399a85475b5390741645a7e56b39f7a8
  Author: Arohan Ajit <arohanajit232 at gmail.com>
  Date:   2024-09-23 (Mon, 23 Sep 2024)

  Changed paths:
    M .flake8
    M gui/wxpython/core/gconsole.py
    M gui/wxpython/core/render.py
    M gui/wxpython/core/settings.py
    M gui/wxpython/core/toolboxes.py
    M gui/wxpython/core/utils.py
    M gui/wxpython/core/workspace.py

  Log Message:
  -----------
  checks: Replace bare except (Flake8 E722) in wxGUI/core (#4367)

This addresses the PEP8 style error E722 by specifying exception types in all bare except clauses found in wxGUI/core. Unclear cases use Exception.

---------

Co-authored-by: Vaclav Petras <wenzeslaus at gmail.com>



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