Skip to content
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

Merged
merged 17 commits into from
Jan 20, 2024
Merged

Tomer fixes #108

merged 17 commits into from
Jan 20, 2024

Conversation

tomers
Copy link
Contributor

@tomers tomers commented Jan 20, 2024

Some more improvements. Mainly separation of code, and create helper classes.

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.
@maresb
Copy link
Collaborator

maresb commented Jan 20, 2024

Excellent as usual, thanks @tomers!!!

When I ran it I hit some exceptions, e.g. with super and Path vs str. I fixed them in my suggestions here: tomers#2

If you feel so motivated, it would be nice to get rid of that die function, it feels very Perl. 😂

Are you familiar with mypy? It'd be amazing to have this code statically type-checked.

@maresb
Copy link
Collaborator

maresb commented Jan 20, 2024

See also tomers#3

@maresb
Copy link
Collaborator

maresb commented Jan 20, 2024

And mypy: tomers#4

maresb and others added 6 commits January 20, 2024 21:31
@tomers
Copy link
Contributor Author

tomers commented Jan 20, 2024

Thank you so much @maresb ! It's really a pleasure to work with you. You are very responsive and helpful.
You contribute a lot in a to my PRs, in a timely manner, and I got to learn a lot from you ❤️
Thanks!

@maresb
Copy link
Collaborator

maresb commented Jan 20, 2024

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.

@maresb maresb merged commit 30a775f into computerlyrik:master Jan 20, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants