Closed WhyNotHugo closed 2 years ago
Any feedback for this?
I won't get to this before the weekend at the earliest, but thanks for doing this. Will definitely review
Done in e31c7278f64a8d667c0fe7628dc37e589b9f2ccf and cdcfa3ecc00a39e565464f141e2420cb592f392c
Thanks!
This is an attempt at add type hints to the codebase.
I'm mostly doing this since I want to better understand some of the helper functions so as to expose a few and make them reusable.
There's still a issues in
_format_envvars
and_generate_nodes
. Both of them take an argument and pass it to a conflicting function.There's a second commit to this PR which has a change of which I'm not fully sure. That's not a typing change, but an actual logic change. It does work for me, however, I can't really say it's correct. It does remove one typing error.