[GRASS-git] [OSGeo/grass] e73a2b: grass.gunittest: Add typing annotations to code th...

Edouard Choinière noreply at github.com
Wed Aug 20 11:39:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: e73a2beb635e43475afd5ba4b83623e17ed100aa
      https://github.com/OSGeo/grass/commit/e73a2beb635e43475afd5ba4b83623e17ed100aa
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M pyproject.toml
    M python/grass/gunittest/case.py
    M python/grass/gunittest/gutils.py
    M python/grass/gunittest/invoker.py
    M python/grass/gunittest/loader.py
    M python/grass/gunittest/multireport.py
    M python/grass/gunittest/reporters.py
    M python/grass/gunittest/runner.py
    M python/grass/gunittest/utils.py
    M python/grass/script/utils.py

  Log Message:
  -----------
  grass.gunittest: Add typing annotations to code that isn’t from unittest (#6230)

This PR extracts some typing annotations that will not conflict with my other work on gunittest


* grass.gunittest: Add type annotations for supplementary_files

* grass.gunittest: Add type annotations to gutils.py

* grass.gunittest: Add typing annotations to reporters.py

* grass.gunittest: Add typing annotations to invoker.py

* grass.gunittest: Add typing annotations to utils.py

* grass.gunittest: Use typing.NamedTuple for GrassTestPythonModule

* grass.gunittest: Use typing.NamedTuple for multireport PlotStyle



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