Skip to content

[docstring][data] fix indentation errors - #52874

Merged
angelinalg merged 3 commits into
ray-project:masterfrom
angelinalg:data-docstring-indent-2
May 14, 2025
Merged

angelinalg merged 3 commits into
ray-project:masterfrom
angelinalg:data-docstring-indent-2

Conversation

@angelinalg

Copy link
Copy Markdown
Contributor

Public-facing ones weren't rendering correctly and cleaned up internal ones in case of cargo culting.

Related issue number

https://anyscale1.atlassian.net/browse/MLDX-686

Checks

Signed-off-by: angelinalg <[email protected]>
@angelinalg
angelinalg requested a review from a team as a code owner May 8, 2025 18:55
@angelinalg angelinalg added docs An issue or change related to documentation data Ray Data-related issues labels May 8, 2025
@thomasdesr
thomasdesr enabled auto-merge (squash) May 8, 2025 20:57
@github-actions github-actions Bot added the go add ONLY when ready to merge, run all tests label May 8, 2025
thomasdesr added a commit that referenced this pull request May 8, 2025
## Why are these changes needed?

This changes are part a batch effort to rewrite Ray's docstrings to be
minimally pydoclint compliant. This PR focuses on making them at least
pass basic formatting checks

## Related issue number

Extends #52874 w/ a few more

## Checks

- [x] I've signed off every commit(by using the -s flag, i.e., `git
commit -s`) in this PR.
- [ ] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've added any new APIs to the API Reference. For example, if I
added a
method in Tune, I've added it in `doc/source/tune/api/` under the
           corresponding `.rst` file.
- [ ] I've made sure the tests are passing. Note that there might be a
few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
   - [ ] Unit tests
   - [ ] Release tests
   - [ ] This PR is not tested :(

Signed-off-by: Thomas Desrosiers <[email protected]>
@github-actions
github-actions Bot disabled auto-merge May 12, 2025 17:18
@angelinalg
angelinalg merged commit 79c8344 into ray-project:master May 14, 2025
thomasdesr added a commit to thomasdesr/ray that referenced this pull request May 14, 2025
thomasdesr added a commit that referenced this pull request May 14, 2025
## Why are these changes needed?

Update the pydoclint ratchet to remove the new passing docstrings

## Related issue number

<!-- For example: "Closes #1234" -->

## Checks

- [x] I've signed off every commit(by using the -s flag, i.e., `git
commit -s`) in this PR.
- [x] I've run `scripts/format.sh` to lint the changes in this PR.
- [ ] I've included any doc changes needed for
https://docs.ray.io/en/master/.
- [ ] I've added any new APIs to the API Reference. For example, if I
added a
method in Tune, I've added it in `doc/source/tune/api/` under the
           corresponding `.rst` file.
- [ ] I've made sure the tests are passing. Note that there might be a
few flaky tests, see the recent failures at https://flakey-tests.ray.io/
- Testing Strategy
   - [ ] Unit tests
   - [ ] Release tests
   - [ ] This PR is not tested :(

Signed-off-by: Thomas Desrosiers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-backlog data Ray Data-related issues docs An issue or change related to documentation go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants