I think I read something about this in the docs on...
# general
e
I think I read something about this in the docs once but can't seem to find it now. Is there a way to extend the default sources rather than replacing them (eg. in
helm_chart(sources=...)
)? Bonus points if I can do this with
__defaults__
also
c
Copy code
# Make `python_sources` targets recursive by default.
__defaults__({
  python_sources: dict(
    sources = [
      "**/" + glob for glob in
      python_sources.sources.default   
    ]
  ),
  ...
})
https://github.com/pantsbuild/pants/pull/20950