-
Notifications
You must be signed in to change notification settings - Fork 2
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
Status of the project #5
Comments
The ContentHack branch was working towards my vision of allowing a configurable caption for any content based on the original concept. I refactored the code so it made more sense in that context. Unfortunately, my python OOP skills are inadequate and I've stalled. iirc:
Of course if it worked then tests would be needed. Any PR to resolve these or any other issues would be welcome. |
That's wonderful to hear (well, read 😅 )! OK, now I understand what you tried to do, and while my PR fixes all the tests, they aren't really good from an OOP perspective. But at least we now know that it works and that a refactor should always pass the tests. We can make the various content types subclasses of the I would gladly help you do this, let me know if you want to merge the current PR first or if it's ok to go all in with the overhaul. PS: I already did some more refactorings, mainly to make it more compliant with the google style guide (variable/method/class naming) and to switch to pytest (just a personal preference, it avoids keeping a useless class around), but let's take it one step at a time 😉 |
Small note in the wiki on page https://github.com/flywire/caption/wiki/Development#unittest the line should be replaced by As the testing framework was changed. |
Hi there,
first of all, thanks for this! After some research, I think this extension would be what I'm looking for, but I did encounter 2 issues for my use case (also found in yafg):
I would like to do a PR for this, but I was wondering what are your plans for this project...
The text was updated successfully, but these errors were encountered: