small fix to follow python recommendations

2 jobs for fix/better_str_comparison in 21 minutes and 24 seconds (queued for 4 seconds)