Python No Implicit Truthiness

Use when checking a value that could be None, 0, an empty string, or an empty collection: never bare if x, always is None/is not None or an explicit emptiness check.

techmefr Updated

File contents

techmefr/mentis commit 9c6f3927e7

Frequently asked questions

npx get-skill add techmefr/python-no-implicit-truthiness