story
Us older people tend to keep the whole workflow as simple as possible. That is why I love python. There is very little overhead to just using it.
If you tend to make this mistake a lot it might make sense to add some tooling. I don't need it. If I wanted strict typing I would probably just use C++.
For example, if you're redefining bug as "bug that made it past testing" that's one thing.
But I don't buy anyone writing Python daily for 15 years hasn't seen the term "TypeError" which is what your previous two comments were implying.
Testing. Over that long time I have used many test frameworks. My normal workflow is to try and exercise all the code I write as I go.
On the other hand I am 100% pedantic about using 'schema' (https://pypi.org/project/schema/) to validate all the types, structure and domains when I read json.
But I made way more type errors when programming in C/++.
Why do you prefer schema to (fast)jsonschema?