[GRASS-git] [OSGeo/grass] 991222: gui: Remove shadowing of `type()` and typo in clas...

Edouard Choinière noreply at github.com
Fri Jul 17 19:35:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 9912224bc88d2f1125fb525bfbe39a5bb90283f5
      https://github.com/OSGeo/grass/commit/9912224bc88d2f1125fb525bfbe39a5bb90283f5
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2026-07-18 (Sat, 18 Jul 2026)

  Changed paths:
    M gui/wxpython/lmgr/layertree.py

  Log Message:
  -----------
  gui: Remove shadowing of `type()` and typo in class attribute (#7753)

AI autofixes, completed and vetted by me afterwards.

- Typo `self.centreFromsOnParent` -> `self.centreFormsOnParent` (+ extra missed instances were renamed)
- Shadowing of built in function type() -> Rename local variables inside file

These were made during the week but were not filed in a PR yet.

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Additionnal "centreFromsOnParent" -> "centreFormsOnParent"

* More changes to inner variable shadowing "type()" function

* Revert some uncertain changes

* Apply suggestions from code review

Co-authored-by: Edouard Choinière <27212526+echoix at users.noreply.github.com>

* Update gui/wxpython/lmgr/layertree.py

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>



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