sourcery icon indicating copy to clipboard operation
sourcery copied to clipboard

Refactor suggestion: `if all([obj]):` into `if obj:`

Open diceroll123 opened this issue 3 years ago • 1 comments

Issue description or question

Refactor if all([obj]): into if obj:

As it says on the tin, really! Same goes for similar usages of any, I suppose!

diceroll123 avatar Apr 12 '22 03:04 diceroll123

That's a great idea, thank you! I've added it to our pipeline :grin:

ruancomelli avatar Apr 12 '22 13:04 ruancomelli