deceitfulsteve@programming.devtoPython@programming.dev•When to use `typing.TYPE_CHECKING`English
1·
1 year agoA cheeky answer: whenever Ruff/flake8-type-checking tells me to. Though I’d only enable that check now that there’s an autofix in Ruff as well.
For me, I’ve never had one that was as good as the one from the bar that actually had it on the menu. I’m on the verge of making my own orgeat to figure out what’s missing when I make one at home.