unnecessary-comprehension / R1721ΒΆ

Message emitted:

Unnecessary use of a comprehension, use %s instead.

Description:

Instead of using an identity comprehension, consider using the list, dict or set constructor. It is faster and simpler.

Created by refactoring checker