Python No Magic Strings

Use when a domain value (status, type, kind, mode) or a threshold is written as a bare string or number: give it an Enum/StrEnum or a named constant.

techmefr Updated

File contents

techmefr/mentis commit 4f6892a4a1

Frequently asked questions

npx get-skill add techmefr/python-no-magic-strings