Closed mahdirahimi1999 closed 9 months ago
Please check this PR. @carltongibson
Please check this PR. @carltongibson
Hi @mahdirahimi1999. Yes I saw this. Not sure it's really worth it, given that setup.py is a single shot script. (And that it's likely time to move to pyproject.toml and, likely, flit)
Thanks but we moved to pyproject.toml
Ok, good luck @carltongibson
Description
This commit updates the read 'README.rst' file to use a context manager when opening the file, ensuring that the file is properly closed after it has been read. This improves the code's readability and helps to prevent potential resource leaks.