Commit Graph
1 Commits
Author SHA1 Message Date
toanmapandGitHub 1fd659ceb1 refactor: unclosed file handle for readme.md (#620)
The `README.md` file is opened using `open('README.md', 'r')` but is never explicitly closed. This can lead to resource leaks, especially in long-running processes or if the script were to be extended to open many files. While Python's garbage collector might eventually close it, it's not guaranteed and is considered bad practice.

Affected files: ensure_sorted.py

Signed-off-by: toanmap <174589430+maptoan@users.noreply.github.com>
2026-03-30 15:10:40 +00:00