[GRASS-git] [OSGeo/grass] 0f9e2e: wxGUI: Enable lambda, escape, except, l warnings (...

Vaclav Petras noreply at github.com
Sat Apr 10 17:37:22 PDT 2021


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

  Changed paths:
    M gui/wxpython/.flake8
    M gui/wxpython/animation/provider.py
    M gui/wxpython/gui_core/ghelp.py
    M gui/wxpython/iclass/frame.py
    M gui/wxpython/mapwin/buffered.py
    M gui/wxpython/timeline/frame.py
    M gui/wxpython/vnet/dialogs.py
    M gui/wxpython/vnet/vnet_data.py
    M gui/wxpython/web_services/cap_interface.py

  Log Message:
  -----------
  wxGUI: Enable lambda, escape, except, l warnings (#1518)

* Enable warnings for invalid escape sequence, bare except, lambda vs def, and ambiguous variable names.
* Fix cases where l is line, layer, or (layer) node.
* Ignore two trivial lambdas inline.
* Resolve one except with ValueError and one backslash which should be forward (an alternative).
* Use Black for modified lines.




More information about the grass-commit mailing list