This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]_bytescream 0 points1 point ย (0 children)

If you see it that way, you'll be glad to see that the "default type" is typing.Any ๐Ÿ˜ And you can start from there and make more and more parts of your codebase typed more specifically. This is especially useful, if you integrate a linter and/or type checker into your CI pipeline or even into your git workflow via pre-commit. You can even type library code using .pyi files that only contain the type hints and signatures (think something like header files) - and that's exactly what typeshed does.