mixpanel / mixpanel-utils

Other
87 stars 63 forks source link

Updated string formatting #16

Closed kokes closed 4 years ago

kokes commented 6 years ago

For plain strings (e.g. backup_file) I used .format syntax as used in modern Python. For logging calls, I used the % notation as that allows for deferred evaluation.

This string manipulation leads to better readability and fewer type errors as there is no need to explicitly cast everything to strings.