evalai-cli
evalai-cli copied to clipboard
Fix #243 Added module file for text_styling in utils
Added text_styling.py which solves both issue #234 and #243 at the same time.
@ShubhamPandey28 Great work on the issue and kudos on your first PR for CloudCV! 🎉 I loved how you tried to generalize everything in one function. The readability of the code is good as well.
I have left a few queries, so please have a look.
Also, please let me know why you chose a single method instead of several helper methods. I was thinking of having several helper methods, so we could add them as we like. So, if we use flags as mentioned and the number of states increases, maintaining the code becomes more difficult.
the helper functions will be very similar in that case. But you are right, it will be more easy to maintain with those helper functions.