PizzaPY 23: MyPY
- Have a look at presentation.org for the presentation notes. It's an Org-mode file, you'll need Emacs or a viewer to enjoy it fully.
- There's a bunch of demo files that show particular features of MyPy. See notes below how to try them out quickly.
- The docker image is available at Docker Hub
Get started with the demo files
To play around with the examples in this repository, follow these steps:
- Clone this repo.
On the commandline type:
git clone https://github.com/cebucodecamp/pizzapy23-mypy.git
- Run a demo file.
Switch to the directory.
$ cd pizzapy23-mypy
Then check one of the demo files. You should immediately get the error:
$ ./mymypy demo1.py demo1.py:3: error: Incompatible types in assignment (expression has type "str", variable has type "int")
Then look at the demo files, modify them and run the check again to see the difference.
Happy coding! :)
All materials here, code and other content, unless otherwise noted, are published under a CC0 free license.