[GRASS-git] [OSGeo/grass] d7f250: scripts: Enable bare except warning (#1517)

Vaclav Petras noreply at github.com
Fri Apr 9 19:52:17 PDT 2021


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

  Changed paths:
    M scripts/.flake8
    M scripts/i.colors.enhance/i.colors.enhance.py
    M scripts/r.drain/r.drain.py

  Log Message:
  -----------
  scripts: Enable bare except warning (#1517)

* Enable Flake8 warning about use of bare except in scripts.
* Remove multiprocessing old Python conditions in i.colors.enhance.
* Ignore errors directly in the run_command call in r.drain.
* Use per file ignores to ignore the rest.




More information about the grass-commit mailing list