use-dict-literal / R1735ΒΆ
Message emitted:
Consider using {} instead of dict()
Description:
Emitted when using dict() to create an empty dictionary instead of the literal {}. The literal is faster as it avoids an additional function call.
Created by refactoring
checker