Skip to content

Refactoring: use "{}" for creating an empty dictionary

Tim Jaacks requested to merge fix-dict-literal into master

This is the most concise and Pythonic way to create a dictionary.

See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/dict-literal/

Merge request reports

Loading