Python's Mypy: Callables and Generators

Posted by bob on Jul 29, 2019 11:33 PM EDT
Linux Journal; By Reuven M. Lerner
Mail this story
Print this story

It's important to remember that Python, the language, isn't changing, and it isn't becoming statically typed. Mypy is a separate program, running outside Python, typically as part of a continuous integration (CI) system or invoked as part of a Git commit hook. The idea is that Mypy runs before you put your code into production, identifying where the data doesn't match the annotations you've made to your variables and function parameters.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Community, Linux, Python

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.