Open zmievsa opened 2 years ago
Yes, probably a reasonable cleanup at some point.
@snowkoli I am already took it. You may check it in our discord server
@snowkoli Could you take another issue please? I booked this one 90 minutes ago already.
@roskakori This issue has more things to do than I suggested initially. Particularly, because tests
also have many os.path
s. Replacing them to pathlib
leads to some errors, which I must improve.
However, I am interested to finish this. So, I'm gonna to spend next Sunday (July 28th) for this again. If I will not finish it within a couple of months, I'll leave a note here.
Goals
pyproject.toml
marked asTODO#89
.os.path
are replace withpathlib
.Path.read_text
andPath.write_text
where feasible.TODO#89
comments are addressed.Estimate: 8h
Original request
Many parts of the project can be both sped up (though insignificantly) and made more readable by replacing os usage with pathlib usage. File reading/writing can also be made more readable in some places using Path.read_text and Path.write_text. If you have time on your hands, I think investing into this idea would be a good improvement