[GRASS-git] [OSGeo/grass] ce1a43: style: Fixes if-stmt-min-max (PLR1730) (#3950)

Edouard Choinière noreply at github.com
Sun Jun 30 17:26:41 PDT 2024


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

  Changed paths:
    M gui/wxpython/core/gcmd.py
    M gui/wxpython/dbmgr/base.py
    M gui/wxpython/gcp/manager.py
    M gui/wxpython/gcp/statusbar.py
    M gui/wxpython/gmodeler/canvas.py
    M gui/wxpython/gmodeler/panels.py
    M gui/wxpython/gui_core/prompt.py
    M gui/wxpython/image2target/ii2t_manager.py
    M gui/wxpython/image2target/ii2t_statusbar.py
    M gui/wxpython/location_wizard/dialogs.py
    M gui/wxpython/modules/colorrules.py
    M gui/wxpython/nviz/tools.py
    M gui/wxpython/photo2image/ip2i_manager.py
    M gui/wxpython/photo2image/ip2i_statusbar.py
    M gui/wxpython/vnet/dialogs.py
    M python/grass/benchmark/runners.py
    M python/grass/imaging/images2swf.py
    M python/grass/jupyter/region.py
    M python/grass/temporal/temporal_granularity.py
    M scripts/d.correlate/d.correlate.py
    M scripts/d.rast.edit/d.rast.edit.py
    M scripts/d.rast.leg/d.rast.leg.py
    M scripts/r.tileset/r.tileset.py
    M temporal/t.rast.what/t.rast.what.py

  Log Message:
  -----------
  style: Fixes if-stmt-min-max (PLR1730) (#3950)

Concerns Pylint rules "consider-using-min-builtin / R1730" and "consider-using-max-builtin / R1731"

Using `ruff check --output-format=concise --select PLR1730 --preview --fix`.



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