R1718 consider-using-set-comprehension¶
- Message
'Consider using a set comprehension'
- Description
Although there is nothing syntactically wrong with this code, it is hard to read and can be simplified to a set comprehension.Also it is faster since you don’t need to create another transient list