[GRASS-git] [OSGeo/grass] 761222: scripts: Enable import not at top of file warning ...

Vaclav Petras noreply at github.com
Wed Apr 7 19:52:37 PDT 2021


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

  Changed paths:
    M scripts/.flake8
    M scripts/r.in.srtm/r.in.srtm.py
    M scripts/r.in.wms/r.in.wms.py
    M scripts/wxpyimgview/wxpyimgview_gui.py

  Log Message:
  -----------
  scripts: Enable import not at top of file warning (#1510)

Move imports and path modifications around as needed.
Ignore some complex cases for now.
Remove redundant blank line right after function name.




More information about the grass-commit mailing list