Consider replacing string parsing with ast
Open
tech debt
- Dominant language
- Python
- Stars
- 13
- Forks
- 17
- Avg merge
- 6h 59m
- Merged PRs (30d)
- 1
Description
> [!NOTE]
> Migrated from [augurlabs/augur#3504](https://github.com/augurlabs/augur/issues/3504)
> Originally opened by `@VyasGuru` on 2026-01-01
---
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.
Contributor guide
Assessment
This issue has not been assessed yet.