How to auto-generate Python type hints with Monkeytype

Поділитися
Вставка
  • Опубліковано 10 чер 2024
  • Python's type hinting system makes it easier to check your programs for correctness and consistency, but adding type hints to an existing code base can be grueling work. MonkeyType, created by Instagram, runs your code and automatically generates type hints for code, which you can apply directly to your source or list alongside it as type stubs. This video shows a simple example of MonkeyType in action, along with some use cases and caveats.
    -----------------------------­---
    SUBSCRIBE: ua-cam.com/users/subscription_c...
    FACEBOOK: / infoworld
    TWITTER: / infoworld
    WEBSITE: www.infoworld.com/
  • Наука та технологія

КОМЕНТАРІ • 1