[GRASS-git] [OSGeo/grass] 664e68: temporal: SIM115: Use context manager for file I/O...

Arohan Ajit noreply at github.com
Sat Feb 22 09:21:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 664e6891f5b59e6b518232bc33f49418e9958085
      https://github.com/OSGeo/grass/commit/664e6891f5b59e6b518232bc33f49418e9958085
  Author: Arohan Ajit <arohanajit232 at gmail.com>
  Date:   2025-02-22 (Sat, 22 Feb 2025)

  Changed paths:
    M pyproject.toml
    M temporal/t.rast.colors/t.rast.colors.py
    M temporal/t.rast.series/t.rast.series.py

  Log Message:
  -----------
  temporal: SIM115: Use context manager for file I/O in t.rast (#5105)

* added context managers

* update pyproject.toml

* add join to reduce code

* added join to reduce code t.rast.series

* ruff auto fix

* rearranged with block

* reverted back to gs.tmpfile



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