[GRASS-git] [OSGeo/grass] cd6447: style: Fix pylint pointless-statement (W0104) (#3996)

Edouard Choinière noreply at github.com
Mon Jul 8 08:40:17 PDT 2024


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

  Changed paths:
    M imagery/i.atcorr/create_iwave.py
    M pyproject.toml
    M python/grass/imaging/images2gif.py
    M python/grass/temporal/abstract_map_dataset.py
    M python/grass/temporal/c_libraries_interface.py
    M python/grass/temporal/temporal_granularity.py
    M scripts/g.extension/g.extension.py

  Log Message:
  -----------
  style: Fix pylint pointless-statement (W0104) (#3996)

* temporal: Actually call dbif.close() to fix pylint pointless-statement (W0104)

* g.extension: Fix pylint pointless-statement (W0104)

* temporal: Fix pointless-statement (W0104) in temporal_granularity

* temporal: Fix pointless-statement (W0104) in c_libraries_interface.py, _read_vector_history() function

* i.atcorr: Remove useless and non-working print statements in create_iwave.py

* python(grass.imaging): Use PIL.__version__ call to fix pylint pointless-statement

* style: Ignore ruff useless-expression (B018) for a gunittest data file. Equivalent to pylint pointless-statement / W010

* style: Enable ruff useless-expression (B018) (equivalent to pylint pointless-statement / W010)



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