Missing commas in tuples results in implicit string concatenation. Probably not what you intended to do.
Implicit string concatenation that resulted from a typo can change the behaviour of the application. Take for example:
is_positive('agreed') evaluates to False because a typo resulted in the comma being missed from the end of 'affirmative', resulting in 'affirmative' and 'agreed' being implicitly concatenated to 'affirmativeagreed'.
If our GitHub code review bot spots this issue in your pull request it gives this advice:
1 | + | values = ( | |
2 | + | 'yes', | |
3 | + | 'correct' |
Missing commas in tuples results in implicit string concatenation. Probably not what you intended to do.
Read more4 | + | 'agreed', | |
5 | + | ) |



