Ah, seems my top-level `BUILD` file created by `pa...
# general
i
Ah, seems my top-level
BUILD
file created by
pants tailor ::
included:
Copy code
python_sources(  
    name="root",
)
But no python files were in the top level dir.
h
What is in the top-level dir? Tailor obviously saw something there that it thought required a target, and that error indicates that something in that dir needs a source root, so...
Worth seeing if adding "/" to your source roots fixes this
i
Ah, I see! I use
pyinvoke
which places a
tasks.py
at the source root - that's probably why 👍
h
That would do it