-
Notifications
You must be signed in to change notification settings - Fork 6
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
Pyification #148
Pyification #148
Conversation
8e0433f
to
29430f6
Compare
|
a472ebe
to
4e7a047
Compare
I removed that one for now until I understand the errors in test. Seems like I am breaking stuff by oversimplifying. 😅 |
343c6fd
to
9bcd85e
Compare
depends on #151 |
Instead of crafting a string from a list manually the python builtin join was used. Signed-off-by: Jens Erdmann <[email protected]>
Rework license_expression_set_list_to_string function by making more use of built in python functions instead of implementing joins by hand. Signed-off-by: Jens Erdmann <[email protected]>
Rework function interim_license_expression_list_to_string to be more python instead of c style. Removing logic to determine first items and inserting delimiters. Signed-off-by: Jens Erdmann <[email protected]>
Replace logic to hand craft string in c style with actual python builtin formatted string. Signed-off-by: Jens Erdmann <[email protected]>
Replace c style string concatination with python formatted string. Signed-off-by: Jens Erdmann <[email protected]>
9bcd85e
to
2085a6c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a hundred percent sure if that needs some additional test coverage - but changes lgtm
The markdown stuff is covered as I learned by failing a test. |
Convert c style joins to python joins.
Simplify display_compatibility function.
See commits for details.