I guess you don't use an IDE. Use VSCode or IntelliJ with auto completion and error highlighting as you type. Type hints are a blessing.

PyCharm does this without the hints

How would that work across files and libraries?