Latest Python (> 3.7?) typing combined with mypy --strict is the best of both worlds. Highly suggest you try it out.
You can use it with source control, I do it for about 18 notebooks I use on a daily basis: https://github.com/kynan/nbstripout
Latest Python (> 3.7?) typing combined with mypy --strict is the best of both worlds. Highly suggest you try it out.
You can use it with source control, I do it for about 18 notebooks I use on a daily basis: https://github.com/kynan/nbstripout