Further manual check showed that real errors are present only in 24 repositories (3.6%), and the remaining 1.4% are false responses (for example, the comma could be specifically skipped between strings for combining broken into several lines of file pathways, long hashes, HTML blocks or SQL expressions). It is noteworthy that large projects such as TensorFlow, Google V8, Sentry, Pydata Xarray, RapidPro, Django-Colorfield and Django-Helpdesk were among the 24 repositories with real errors. At the same time, problems with commas are not specific to Python and often pop up in projects on C / C ++ (Sample recent corrections – LLVM , mono , TensorFlow ).
Main types of errors:
- Randomly missed comma in lists, tuples and sets, leading to rows to combine instead of their interpretation as separate values. For example, in the Sentry in one of the tests there was skipped comma between the strings “Releases” and “Discover” listed led to checking the non-existent handler “/ Releasesdiscover”, instead of separate check “/ Releases” and “/discover”..dcenter>
Another example – missed comma in RapidPro led to unite the spirit of different rules in line 572: