inspect_without_import.py currently uses basic string parsing to get the functions from start_tasks.py
This might cause problems with indenting and formatting with small things like whitespaces.
I'd suggest using Python's ast to inspect the file, as this makes it more robust and not susceptible to the parsing errors previously mentioned.
If there isn't anyone working on this already, I'd be glad to give this a go. Waiting for a maintainer to review this.