[GRASS-git] [OSGeo/grass] 388e5f: pythonlib: Enable bare except warning (#1549)

Vaclav Petras noreply at github.com
Fri May 14 19:20:19 PDT 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 388e5ff01776db60175a44ba106424e0266bd112
      https://github.com/OSGeo/grass/commit/388e5ff01776db60175a44ba106424e0266bd112
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-05-14 (Fri, 14 May 2021)

  Changed paths:
    M python/grass/.flake8
    M python/grass/temporal/stds_import.py
    M python/grass/temporal/temporal_operator.py
    M python/grass/temporal/temporal_raster3d_algebra.py
    M python/grass/temporal/temporal_raster_algebra.py
    M python/grass/temporal/temporal_vector_algebra.py

  Log Message:
  -----------
  pythonlib: Enable bare except warning (#1549)

* Enable Flake8 warning for bare except globally.
* Fix files with only ImportError missing or bare except-raise with finally
  (where finally is sufficient).
* Replace temporal directory ignores by true per-file ignores.




More information about the grass-commit mailing list