throwaway10102·5 лет назад·discussLatest Python (> 3.7?) typing combined with mypy --strict is the best of both worlds. Highly suggest you try it out.
throwaway10102·5 лет назад·discussYou can use it with source control, I do it for about 18 notebooks I use on a daily basis:https://github.com/kynan/nbstripout