samuelbryant / sjb-tools

A simple CLI program to create, maintain and edit todo lists
MIT License
0 stars 0 forks source link

Refactor fileio.py #47

Closed samuelbryant closed 6 years ago

samuelbryant commented 6 years ago

Currently fileio.py is a weird hybrid between config.py and classes.py

Part of it handles getting directories specific to the application.

Part of it handles reading/writing objects from files.

We should refactor it so that it's purpose is very clear. One way of doing this is to write a file whose only purpose is to write the objects in classes.py to strings which can be appended to arbitrary streams (this should perhaps go into classes.py itself).

samuelbryant commented 6 years ago

Component of #53

samuelbryant commented 6 years ago

Closed by some recent commit (not sure which)