[GRASS-git] [OSGeo/grass] 7b7245: style: Fix if-expr-with-true-false (SIM210) and if...

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


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 7b72452921b9c3efa0e56392740991cfde541bdc
      https://github.com/OSGeo/grass/commit/7b72452921b9c3efa0e56392740991cfde541bdc
  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/globalvar.py
    M gui/wxpython/gmodeler/canvas.py
    M gui/wxpython/gmodeler/model.py
    M gui/wxpython/lmgr/layertree.py
    M pyproject.toml
    M python/grass/pygrass/modules/grid/grid.py
    M python/grass/pygrass/modules/interface/flag.py
    M python/grass/pygrass/modules/interface/parameter.py
    M python/grass/pygrass/modules/interface/testsuite/test_flag.py
    M python/grass/pygrass/raster/abstract.py
    M python/grass/pygrass/utils.py
    M python/grass/pygrass/vector/__init__.py
    M python/grass/pygrass/vector/abstract.py
    M python/grass/pygrass/vector/geometry.py
    M utils/mkhtml.py

  Log Message:
  -----------
  style: Fix if-expr-with-true-false (SIM210) and if-expr-with-false-true (SIM211) (#3999)

Relates to pylint rule simplifiable-if-expression / R1719



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