Skip to content

docs: update imports to reflect current classes#23100

Merged
cburroughs merged 2 commits intopantsbuild:mainfrom
cburroughs:csb/docs-plugin-update
Feb 17, 2026
Merged

docs: update imports to reflect current classes#23100
cburroughs merged 2 commits intopantsbuild:mainfrom
cburroughs:csb/docs-plugin-update

Conversation

@cburroughs
Copy link
Contributor

This is the less mechanical LLM followup to #23097. For each non-example import that doesn't match current reality, try to update it. I've looked at each of the cited PRs and checked with grep, but I wasn't looking closely at the internals at the time of most of these.

This is the less mechanical LLM followup to pantsbuild#23097.  For each
non-example import that doesn't match current reality, try to update
it.  I've looked at each of the cited PRs and checked with `grep`, but
I wasn't looking closely at the internals at the time of most of
these.

* `InjectDependenciesRequest` → `InferDependenciesRequest`
  - pantsbuild#16107
* `InjectedDependencies` → `InferredDependencies`
  - pantsbuild#16107
* `inject_for` → `infer_from`
  - pantsbuild#16107
* `Sources` → `MultipleSourcesField`
  - pantsbuild#13439
* `LintResults` → `LintResult`
  - pantsbuild#16735
* `BanditRequest` → `BanditRequest.Batch`
  - pantsbuild#16735
* `PexBinaryTarget` → `PexBinary`
  - N/A (docs error introduced in pantsbuild#20399 - code was always `PexBinary`)
* `PexEntryPoint` → `PexEntryPointField`
  - pantsbuild#17870
@cburroughs cburroughs self-assigned this Feb 13, 2026
@cburroughs cburroughs added the release-notes:not-required [CI] PR doesn't require mention in release notes label Feb 13, 2026
@cburroughs cburroughs marked this pull request as ready for review February 14, 2026 01:44
@cburroughs cburroughs requested a review from benjyw February 14, 2026 01:44
[source]
root_patterns = [
..,
"..",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is wrong I think. The .. is intended to represent an elision, not a literal string.

Copy link
Contributor

@benjyw benjyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See one correction

@cburroughs cburroughs enabled auto-merge (squash) February 17, 2026 15:00
@cburroughs cburroughs merged commit f7d37c4 into pantsbuild:main Feb 17, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes:not-required [CI] PR doesn't require mention in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments