2 ms·
If language permits it, then #$%^& mypy. My bet is on types.
by fithisux 10y ago
If language permits it, then #$%^& mypy. My bet is on types.
- amyjess 10y agoIt's not like mypy is the only linter that warns you about stuff that's technically legal. Like, I make it a point to run all my stuff through pylint, and it typically catches a few things that will technically run but would cause problems.
- squeaky-clean 10y agoReally there's many more examples where re-using a name causes more harm than where it's idiomatic like the one above. And you always add an ignore comment to that specific line.