get_whitelisted_ids fails when used from outside project directory
Closed this issue · 1 comments
mwchase commented
I'm experimenting with a small monorepo structure for developing a library and its dependents together until the interfaces stabilize, then splitting them into separate projects.
Currently, the path logic in get_whitelisted_ids assumes that the src
and tests
directories are directly accessible from the current directory.
I think the correct new logic would be to get the relpath from the cwd, then use the beginning as the "cwd" value in the calculations.
This has the issue that it's not at all what you want to do for a single-project repository, so I can't just do it, there needs to e some kind of switch.
mwchase commented
I seem to have fixed this