[GRASS-git] [OSGeo/grass] fcfc5f: grass.script.core: Use a context manager for openi...

Edouard Choinière noreply at github.com
Fri Dec 27 04:22:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: fcfc5faef5ff831242e334187cc818677bab064e
      https://github.com/OSGeo/grass/commit/fcfc5faef5ff831242e334187cc818677bab064e
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M pyproject.toml
    M python/grass/script/core.py

  Log Message:
  -----------
  grass.script.core: Use a context manager for opening files (SIM115) to solve some ResourceWarnings (#4559)

* grass.script.core: Use a context manager for opening files (SIM115) to solve some ResourceWarnings

* Use os.mkdir for string variable



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