[GRASS-git] [OSGeo/grass] ffa270: style: Fixes literal-membership (PLR6201) for othe...

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


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

  Changed paths:
    M display/d.mon/render_cmd.py
    M lib/init/grass.py
    M man/build_class_graphical.py
    M man/build_class_rest.py
    M man/build_html.py
    M man/build_rest.py
    M man/parser_standard_options.py
    M python/grass/benchmark/plots.py
    M python/grass/jupyter/map3d.py
    M python/grass/pygrass/modules/grid/grid.py
    M python/grass/pygrass/modules/interface/flag.py
    M python/grass/pygrass/modules/interface/module.py
    M python/grass/pygrass/raster/__init__.py
    M python/grass/pygrass/raster/abstract.py
    M python/grass/pygrass/raster/category.py
    M python/grass/pygrass/vector/abstract.py
    M python/grass/script/array.py
    M python/grass/script/core.py
    M python/grass/script/db.py
    M python/grass/script/task.py
    M python/grass/script/testsuite/data/script_using_temporary_region.py
    M python/grass/script/utils.py
    M raster/r.neighbors/testsuite/test_r_neighbors.py
    M scripts/d.polar/d.polar.py
    M scripts/d.rast.edit/d.rast.edit.py
    M scripts/db.univar/db.univar.py
    M scripts/g.extension/g.extension.py
    M scripts/g.manual/g.manual.py
    M scripts/i.image.mosaic/i.image.mosaic.py
    M scripts/i.spectral/i.spectral.py
    M scripts/r.in.aster/r.in.aster.py
    M scripts/r.in.srtm/r.in.srtm.py
    M scripts/r.in.wms/wms_base.py
    M scripts/r.in.wms/wms_drv.py
    M scripts/r.reclass.area/r.reclass.area.py
    M scripts/v.db.renamecolumn/v.db.renamecolumn.py
    M scripts/v.db.update/v.db.update.py
    M scripts/v.dissolve/tests/conftest.py
    M scripts/v.dissolve/v.dissolve.py
    M scripts/v.in.e00/v.in.e00.py
    M scripts/v.report/v.report.py
    M utils/g.html2man/ggroff.py
    M utils/thumbnails.py

  Log Message:
  -----------
  style: Fixes literal-membership (PLR6201) for other code (#3954)

Concerns Pylint rule "use-set-for-membership / R6201"

Using `ruff check --output-format=concise --select PLR6201 --preview --unsafe-fixes --fix`, but reverting some changes where it wasn't clear if it was safe.



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