-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tomer fixes #108
Tomer fixes #108
Conversation
Separate code that is related solely to the CLI application from the code that is related to the library itself (i.e. the engine). This, together with the separation of the GUI code, is done not only for the purpose of separation, but to allow us to create a useful Python library for printing with Dymo printers.
Separate code that is shared between CLI and GUI applications (i.e. the engine itself). This, together with the separation of the GUI and UI code, is done not only for the purpose of separation, but to allow us to create a useful Python library for printing with Dymo printers.
Use FontStyle and FontConfig classes. Use ConfigFile logic to read fonts section in configuration file.
Excellent as usual, thanks @tomers!!! When I ran it I hit some exceptions, e.g. with If you feel so motivated, it would be nice to get rid of that Are you familiar with |
See also tomers#3 |
And mypy: tomers#4 |
Better to use the more specific exception type ValueError. Also the previous `super` call was broken for me.
In practice using abstract Python iterators tends to lead to more trouble than it's worth.
Thank you so much @maresb ! It's really a pleasure to work with you. You are very responsive and helpful. |
Likewise!!! I'm very happy to have your energy and enthusiasm to move things so far forward here! The codebase is in much better shape since you came along. |
Some more improvements. Mainly separation of code, and create helper classes.