[GRASS-git] [OSGeo/grass] d7a56b: scripts: Remove unused vars or ignore in Flake8 (#...

Vaclav Petras noreply at github.com
Mon Apr 5 18:28:18 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: d7a56b30f31a5cd5024b02a9326eebad59101366
      https://github.com/OSGeo/grass/commit/d7a56b30f31a5cd5024b02a9326eebad59101366
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-04-05 (Mon, 05 Apr 2021)

  Changed paths:
    M scripts/.flake8
    M scripts/d.rast.edit/d.rast.edit.py
    M scripts/g.bands/g.bands.py
    M scripts/g.extension/g.extension.py
    M scripts/i.pansharpen/i.pansharpen.py
    M scripts/r.fillnulls/r.fillnulls.py
    M scripts/r.import/r.import.py
    M scripts/r.in.wms/wms_drv.py
    M scripts/v.dissolve/v.dissolve.py
    M scripts/v.in.lines/v.in.lines.py
    M scripts/v.in.mapgen/v.in.mapgen.py

  Log Message:
  -----------
  scripts: Remove unused vars or ignore in Flake8 (#1498)

* Remove unused variables.
* Use one previously unused exception for an error message.
* Ignore the unclear cases using per-file-ignores (to be resolved in the future).




More information about the grass-commit mailing list