You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the motivation / use case for changing the behavior?
Currently, util.py is a grab-bag of different functionality related to encryption, text coloring, configuration, and retrieving text from an editor. It also contains the colorama statement that makes text coloration possible in Windows terminals.
It would be nice to have each method moved to an appropriate class and ideally, remove util.py entirely so we can adhere to the single responsibility principle.
The text was updated successfully, but these errors were encountered:
@alichtman The current PR goes very closely with your recommendations here. We ended up putting encryption stuff into EncryptedJournal.py because those functions need to be folded into that class (I think this will let us more easily support different encryption methods like pgp without reaching up into the control flow).
Feature Request
Currently, util.py is a grab-bag of different functionality related to encryption, text coloring, configuration, and retrieving text from an editor. It also contains the colorama statement that makes text coloration possible in Windows terminals.
It would be nice to have each method moved to an appropriate class and ideally, remove util.py entirely so we can adhere to the single responsibility principle.
The text was updated successfully, but these errors were encountered: