[GRASS-git] [OSGeo/grass] b5bfcd: Checks: fix flake8 E741 in gui/wxpython directory ...

Makiko Shukunobe noreply at github.com
Sat Jun 29 11:19:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: b5bfcd576541c1b4d43187c4d66ff0024167bab1
      https://github.com/OSGeo/grass/commit/b5bfcd576541c1b4d43187c4d66ff0024167bab1
  Author: Makiko Shukunobe <mshukuno at users.noreply.github.com>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M .flake8
    M gui/wxpython/iclass/dialogs.py
    M gui/wxpython/iscatt/frame.py
    M gui/wxpython/lmgr/giface.py
    M gui/wxpython/rlisetup/frame.py
    M gui/wxpython/rlisetup/wizard.py
    M gui/wxpython/timeline/frame.py
    M gui/wxpython/tplot/frame.py
    M gui/wxpython/vdigit/wxdisplay.py
    M gui/wxpython/web_services/widgets.py

  Log Message:
  -----------
  Checks: fix flake8 E741 in gui/wxpython directory (#3926)

* Rename self.l to self.item_attr when using self.l as an argument to wx.ItemAttr().

* Rename l to layer when using l for loop through layer list.

* Rename l to new_layer_lst when using l as an argument to self._tree.AddLayer().

* Rename l to rli_conf when looping through the configuration files in self.rlipath.

* Rename l to layer when looping through the self.map_.GetListOfLayers().

* Rename l to dataset_info when sorting `allDatasets` with the lambda function.

* Rename l to layer_num when looping through `catsDict.items()`.

* Rename l to layer when retrieving layer information in a function.

* Rename l to curr when looping through the `curr_sel_ls`.

* Remove E741 for files in gui/wxpython directory.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list