Does anyone know why pants main adds packages like...
# development
w
Does anyone know why pants main adds packages like this? Shouldn't it just be backend_packages = []? Or .add( ... ) EvenBetterToml doesnt like this
Copy code
backend_packages.add = [
  "pants.backend.build_files.fix.deprecations",
   ...
😮 1
h
No idea
But after what I’ve been combatting the last couple of days, nothing surprises me any more
w
😆 We have a bunch of
add
capabilities - but, yeah, I've never used it this way - but it's been like this for years. I thought it was causing a bug, but nope - I just had a weird code day