• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 28619476844

02 Jul 2026 08:28PM UTC coverage: 92.958% (+0.1%) from 92.827%
28619476844

push

github

web-flow
plumb thru --validate-entry-point as a field (#23474)

Exposes --validate-entry-point from way back in
https://github.com/pex-tool/pex/pull/521 as a field.

Why? I have a repo with a combination of "vanilla" pex_binary targets as
well as ones that follow the "split" pattern described at
https://www.pantsbuild.org/blog/2022/08/02/optimizing-python-docker-deploys-using-pants.
The split ones can't use --validate-entry-point since the whole point is
that neither Pex is complete on its own. I tried to use extra_args
(which has come up in the past for "why add fields?" discussions) but
juggling that across __defaults__ and macros really was kinda annoying.
Adding it as a field makes it work just as easily as any other field.

Notice: This was generated by pointing a LLM at the prior field
additions for the pattern and then pex `--help` for this specific field.

19 of 19 new or added lines in 3 files covered. (100.0%)

1 existing line in 1 file now uncovered.

62223 of 66937 relevant lines covered (92.96%)

5.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.15
/src/python/pants/backend/tools/preamble/subsystem.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc