[GRASS-git] [OSGeo/grass] 7e49a2: style: Fix R1716: Simplify chained comparison betw...

Edouard Choinière noreply at github.com
Wed Jan 1 22:18:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 7e49a2b78c2a40baf3cd5240742792f868b45f5b
      https://github.com/OSGeo/grass/commit/7e49a2b78c2a40baf3cd5240742792f868b45f5b
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M display/d.text/test.py
    M gui/wxpython/core/debug.py
    M gui/wxpython/core/gconsole.py
    M gui/wxpython/core/utils.py
    M gui/wxpython/mapwin/buffered.py
    M gui/wxpython/mapwin/graphics.py
    M gui/wxpython/vdigit/wxdisplay.py
    M gui/wxpython/vnet/vnet_data.py
    M gui/wxpython/vnet/widgets.py
    M pyproject.toml
    M python/grass/imaging/images2ims.py
    M python/grass/imaging/images2swf.py
    M python/grass/temporal/spatial_extent.py
    M python/grass/temporal/temporal_algebra.py
    M python/grass/temporal/temporal_raster3d_algebra.py
    M python/grass/temporal/temporal_raster_algebra.py
    M temporal/t.rast.accdetect/t.rast.accdetect.py

  Log Message:
  -----------
  style: Fix R1716: Simplify chained comparison between the operands (chained-comparison) (#4902)

* style: Fix R1716: Simplify chained comparison between the operands (chained-comparison)

Pylint rule: https://pylint.readthedocs.io/en/stable/user_guide/messages/refactor/chained-comparison.html

* gui: Fix remaining Pylint R1716 issues



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