You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid the construction of the message if the purpose is just to be sent
as a warning.
Try to use format instead of join when possible.
Try to use generator instead of array comprehension.
Fixes#44, #45, #49, #50
https://github.com/ansasaki/smap/blob/608f590b98a1ad2e12c078974eafeef8f4aa58fa/src/smap/symver.py#L93-L101
I feel like this would be more readable:
(also, does
context
really include newlines?)Same issue:
https://github.com/ansasaki/smap/blob/608f590b98a1ad2e12c078974eafeef8f4aa58fa/src/smap/symver.py#L435
Similarly:
https://github.com/ansasaki/smap/blob/608f590b98a1ad2e12c078974eafeef8f4aa58fa/src/smap/symver.py#L458-L461
The text was updated successfully, but these errors were encountered: