Commit e93ce6cd authored by Lars van den Haak's avatar Lars van den Haak
Browse files

Initial version of typecheck script

parent dc9ea3a1
......@@ -5,8 +5,13 @@ Facility to automatically run mypy on Jupyter notebook cells as they are execute
## Installation
...
Save the 'typecheck.py' script to your ipython profile's startup directory and the jupyter/ipython shell will typecheck automatically.
Ipython profile directory can be found via `ipython locate [profile]`. For example, this file could exist on a path like this on linux:
```/home/yourusername/.ipython/profile_default/startup/typecheck.py```
This script relies on mypy and astor, so make sure to have them installed. E.g.
```$ pip3 install mypy astor```
## Usage
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment