I find small, real, provable bugs in open-source Python and fix them. Every fix ships with a regression test that fails on the old code, so the bug proves itself.
π§ wildlint Β· pip install wildlint
Static checks distilled from real upstream bugs that off-the-shelf linters miss.
Each rule comes from an actual bug I found and fixed upstream β see the PRs below.
- nephila/giturlparse #149 β
path/branchparsing stripped every/blob/Β·/tree/marker instead of just the leading one. - jkwill87/mnamer #371 β
str_title_caseusedbreakwhere it neededcontinue, so later exception words stayed capitalized. - python-humanize/humanize #326 β
fractional()doubled the minus sign on negative mixed numbers. - python-validators/validators #463 β
cron()rejected valid comma-separated ranges due to branch ordering. - derek73/python-nameparser #164 β
split(' ')vssplit()left a stray space and['']instead of[]. - savoirfairelinux/num2words #661 β Mongolian ordinal
IndexErroron zero (unguarded[-2]index). - skorokithakis/shortuuid #115 β
string_to_intignored its documentedalphabet_index, using the wrong radix. - mahmoud/boltons #403 β
bytes2humandidn't roll over at exact powers of 1024 (1024β'1024B'instead of'1K'); off-by-one<=boundary.
Open an issue or discussion on any repo above, or email
292882882+patchwright@users.noreply.github.com.