bitter-ability-32190
12/15/2021, 9:19 PMBUILD.pants
to sit next to our Bazel BUILD
files, so my first attempt was to try a (code) root BUILD.pants
with:
python_sources(name="source", sources=["**/*.py"])
python_tests(name="tests", sources=["**/test_*.py", "**/*_test.py"])
But I'm seeing a hearty dose of The following imports in a/b/c/d/test_foo.py:../../../../tests have no owners
which points to an import of a module which is just chilling next to the test.
---
No source roots at playsources
needs to omit tests 🤔busy-vase-39202
12/15/2021, 10:13 PMbitter-ability-32190
12/16/2021, 3:45 PMbusy-vase-39202
12/16/2021, 4:45 PMbitter-ability-32190
12/16/2021, 4:47 PMtailor
busy-vase-39202
12/16/2021, 4:50 PMbitter-ability-32190
12/16/2021, 4:51 PMbusy-vase-39202
12/16/2021, 5:00 PM